Template:MONTHNUMBER/doc

This template returns the cyclic integer month number (between 1 and 12) of the month whose real number is in parameter. Alternatively, the month can be given with its English name (complete or abbreviated to 3 characters, with capitals or small letters).

Does not play nicely with "subst:"


 * Syntax :


 * The month value is interpreted modulo 12 (extra leading zeroes are ignored, negative numbers are accepted, all numbers are rounded to floor).


 * Examples for all standard English month names :
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns


 * Examples for all abbreviated English month names :
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns and   returns
 * returns
 * returns
 * returns


 * Examples for all standard month numbers :
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns


 * Examples for month numbers with extra leading zero :
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns


 * Examples for month number underflows and overflows, from computed values :
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns
 * returns


 * Example for invalid month name :
 * returns