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
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns


 * Examples for all abbreviated English month names :
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 *  </tt> returns
 * <tt> </tt> returns


 * Examples for all standard month numbers :
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns


 * Examples for month numbers with extra leading zero :
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns


 * Examples for month number underflows and overflows, from computed values :
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns
 * <tt> </tt> returns


 * Example for invalid month name :
 * <tt> </tt> returns