[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
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: DAYSINMONTH()
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson