` Algorithm to determine leap year (Randy Goodhew ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

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.


Today is April 26, 2024, 10:24 am
This article has been viewed 35112 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: