/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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;