LeapYear:

Path: Common/Time

% Determines if a year is a leap year

 Typing LeapYear returns the current leap year.

--------------------------------------------------------------------------
   Form:
   ly = LeapYear( datetime )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   datetime    (1,6) [year month day hour minute seconds] or just year

   -------
   Outputs
   -------
   ly          (1,1) 1 = yes, 0 = no

--------------------------------------------------------------------------

Children:

Common: Time/DTSToDTA
Common: Time/Date2JD

Back to the Common Module page