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).

Usage
Does not play nicely with "subst:"


 * Syntax :
 * month


 * The month value is interpreted modulo 12 (extra leading zeroes are ignored, negative numbers are accepted, all numbers are rounded to floor).
 * If the month name is unspecified, it defaults to the current month.


 * 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
 * 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