Template:MonthLength

From Nookipedia, the Animal Crossing wiki
Revision as of 16:41, July 6, 2011 by Abdullah (talk | contribs) (Created page with "{{#switch:{{{1|{{CURRENTMONTH}}}}} |1|01|3|03|5|05|7|07|8|08|10|12= 31 |4|04|6|06|9|09|11= 30 |2|02 = {{#ifeq:{{#expr:{{{2|{{CURRENTYEAR}}}}} mod 4}}|0|29|28}} }}<noinclude> ==U...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

30

Usage

This template is used to find the number of days in a month. To use this template, type:

{{MonthName| Month Number | Year}}
  • If nothing is entered it "Month Number", the current month is used
  • If nothing is entered in "Year", the current year is used. This is important for determining whether or not February is a leap month.