Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>find out if a date is in a leap year</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Find out if a date is in a leap year
------------------------------------------------------------------------------

 Syntax

        GT_LeapYear( dDate )

 Arguments:

      dDate - Date to consider - defaults to current date

 Returns:

      .T. if the date is in a leap year
      .F. otherwise

 Description:

      Sees if the date that is one day after Feb 28th in the given year
      is Feb 29th.  If it is, then we have a leap year.

 Examples:



 Source: LEAPYEAR.PRG

 Author:  Martin Colloby

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson