Template:MonthLength

From RosieSoCrossing
Revision as of 21:18, 11 January 2026 by Rosie (talk | contribs) (Created page with "{{#switch:{{{1|{{LOCALMONTH}}}}} |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|{{LOCALYEAR}}}}} mod 4}}|0|29|28}} }}<noinclude> ==Usage== This template is used to find the number of days in a month. To use this template, type: <pre> {{MonthName| Month Number | Year}} </pre> *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 determi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

31

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.