Difference between revisions of "Template:Leap year"

From blackwiki
Jump to navigation Jump to search
imported>AzaToth
(leap year algorithm)
 
imported>AzaToth
(paranteses)
Line 1: Line 1:
{{#if:{{#expr:{{{1|{{CURRENTYEAR}}}}} mod 4 = 0 and not ({{{1|{{CURRENTYEAR}}}}} mod 100 = 0 and not {{{1|{{CURRENTYEAR}}}}} mod 400 = 0)}}|1|0}}
+
{{#if:{{#expr:{{{1|{{CURRENTYEAR}}}}} mod 4 = 0 and not ({{{1|{{CURRENTYEAR}}}}} mod 100 = 0 and not ({{{1|{{CURRENTYEAR}}}}} mod 400 = 0))}}|1|0}}

Revision as of 23:24, 13 April 2006

1