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( DToC( "01/01/2000" ) ) -> .t.
- ? IsLeapYear( DToC( "01/01/2001" ) ) -> .f.
- Status
Ready
- Compliance
- This function is new in Harbour.
- Platforms
- All
- Files
- Library is libmisc
- See Also