aqDateTime.IsLeapYear Method

Applies to TestComplete 15.51, last modified on May 31, 2023


Use the aqDateTime.IsLeapYear method to check if the specified year is a leap year. A leap year is 366 days long; an ordinary year is 365 days long.



Year [in]    Required    Integer    
Result Boolean

Applies To

The method is applied to the following object:


The method has the following parameter:


Specifies the ordinal number of the desired year.

Result Value

True if the specified year is a leap year, and False if the year is an ordinary year.

See Also

Working With Dates
Working With Time
GetYear Method

Highlight search results