Return to Snippet

Revision: 47842
at June 17, 2011 04:17 by cdicarlo


Initial Code
local numbervar y := year(<DATE/TIME_FIELD_NAME>);

if (y mod 400 = 0) then
  true
else if(y mod 100 = 0) then
  false
else if(y mod 4 = 0) then
  true
else
  false;

Initial URL

                                

Initial Description

                                

Initial Title
Leap Year Check

Initial Tags

                                

Initial Language
Other