| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Checks if a Date value belongs to a leap year.
IsLeap( [<dDate>] ) --> lIsLeapYear
The function returns .F. (true), when <dDate> falls into a leap year, otherwise .F. (false) is returned.
| See also: | DaysInMonth(), Quarter(), Year() |
| Category: | CT:DateTime , Date and time |
| Source: | ct\dattime2.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com