Template:Days in month

From mtgpq wiki
Jump to: navigation, search

Usage

Returns the number of days in the given month.

The first parameter is the month name.

The second parameter is the year.

Example

The following shorthand:

{{Days in month|January|2019}}
{{Days in month|February|2019}}
{{Days in month|March|2019}}
{{Days in month|April|2019}}
{{Days in month|May|2019}}
{{Days in month|June|2019}}
{{Days in month|July|2019}}
{{Days in month|August|2019}}
{{Days in month|September|2019}}
{{Days in month|October|2019}}
{{Days in month|November|2019}}
{{Days in month|December|2019}}

{{Days in month|February|2020}}
{{Days in month|February|2100}}
{{Days in month|February|2400}}

Produces:

31 28 31 30 31 30 31 31 30 31 30 31

29 28 29