The LeapYear attribute can be used to determine if the date is a leap year.
Syntax | |
LeapYear | |
Return value | |
Type |
Description |
Boolean |
True, if the year number of the variable is a leap year. |
Parameter | |
None | |
Note | |
The attribute is read-only. |