Template:Days in month: Difference between revisions

From OLPC
Jump to navigation Jump to search
(sigh.)
(01 v 1)
Line 5: Line 5:


Takes a month and year and returns the # of days in the month. Assumes current date if none is given.
Takes a month and year and returns the # of days in the month. Assumes current date if none is given.
Currently broken, since the switch isn't working.

:{{#switch:01|2|3|4=5|1=6|#default=35}}


See also [[Template:Age calculator]] and [[Template:IsLeapYear]].
See also [[Template:Age calculator]] and [[Template:IsLeapYear]].

Revision as of 03:48, 10 February 2008

31


Takes a month and year and returns the # of days in the month. Assumes current date if none is given. Currently broken, since the switch isn't working.

6

See also Template:Age calculator and Template:IsLeapYear.