` Printed Icetips Article

Icetips Article



Par2: Algorithm to determine leap year
2004-01-23 -- Randy Goodhew
 
This algorithm will return 1 (True) or 0 (False):

  CHOOSE(year# % 4 = 0 AND year# % 100 <> 0 OR year# % 400 = 0)

Use the YEAR() function to extract a Year from a date.



Printed May 7, 2024, 4:38 am
This article has been viewed/printed 35119 times.