IsLeapYear()
Checks if the given date is a leap year.
Syntax
IsLeapYear( <dDate> ) --> lTrueOrFalse
Arguments
<dDate> A valid date.
Returns
<lTrueOrFalse> A logical that indicates if the date year is leap
Description
This function returns true if the given date is a leap year and false if isn’t.
Examples
? IsLeapYear( hb_SToD( "20000101" ) ) // -> .T. ? IsLeapYear( hb_SToD( "20010101" ) ) // -> .F.
Compliance
This function is new in Harbour.
Platforms
All
Files
Library is libmisc
Seealso
DaysInMonth()