Template:MONTHNUMBER
Jump to navigation
Jump to search
Missing required parameter month
The following template description is not displayed when the template is inserted in an article.
Goal
This template will convert the input to a month number (1..12).
Usage
{{MONTHNUMBER|month}}
- month
- Input to be converted to a month number. The template is case insensitive. Valid inputs are:
- Full month names (January..December)
- Three letter abbreviations of month names (Jan..Dec)
- Integer numbers, positive and negative
- Decimal numbers, positive and negative
Examples
{{MONTHNUMBER|January}}
1
{{MONTHNUMBER|Feb}}
2
{{MONTHNUMBER|3}}
3
{{MONTHNUMBER|-8}}
4
{{MONTHNUMBER|5.3}}
5
{{MONTHNUMBER|-5.3}}
6
Related templates
- {{MONTHNAME}}