Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour tools help- GT lib - Norton Guide http://www.X-Hacker.org [<<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.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson