Template:MONTHNAME/doc

This template returns the name of the month whose number is in parameter. Alternatively, the English month name or abbreviation (with any letter case) can be given.

Syntax

 * month


 * The month value is interpreted modulo 12 (extra leading zeroes and decimals are ignored).

Compatibility synonym

 * month

Examples for all standard month numbers

 * returns 1
 * returns 2
 * returns 3
 * returns 4
 * returns 5
 * returns 6
 * returns 7
 * returns 8
 * returns 9
 * returns 10
 * returns 11
 * returns 12

Examples for month numbers with extra leading zero

 * returns 01
 * returns 02
 * returns 03
 * returns 04
 * returns 05
 * returns 06
 * returns 07
 * returns 08
 * returns 09

Examples for month number cyclic underflows and overflows, from computed values

 * returns -12
 * returns -11
 * returns -10
 * returns -9
 * returns -3
 * returns -2
 * returns -1
 * returns 0
 * returns 13
 * returns 14
 * returns 15
 * returns 16
 * returns 23
 * returns 24
 * returns 25
 * returns 1200
 * returns 1201
 * returns 1212

Examples for all standard English month names

 * returns JANUARY
 * returns FEBRUARY
 * returns MARCH
 * returns APRIL
 * returns MAY
 * returns JUNE
 * returns JULY
 * returns AUGUST
 * returns SEPTEMBER
 * returns OCTOBER
 * returns NOVEMBER
 * returns DECEMBER

Examples for all abbreviated English month names

 * returns jan
 * returns feb
 * returns mar
 * returns apr
 * returns may
 * returns jun
 * returns jul
 * returns aug
 * returns sep
 * returns oct
 * returns nov
 * returns dec