` 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 November 21, 2024, 7:03 am
This article has been viewed/printed 35215 times.