Template:DECADE/doc

This template computes the calendar century number for the gregorian year in parameter. It is different from the astronomical century number (which starts at 0).


 * Syntax :
 *  NaNs


 * The year must be astronomical (year=1 in 1|1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).


 * Examples :
 *  1900s  returns 1900s
 *  1900s  returns 1900s
 *  1910s  returns 1900s
 *  1960s  returns 1900s
 *  1990s  returns 1990s
 *  2000s  returns 2000s
 *  2000s  returns 2000s
 *  2090s </tt> returns 2090s
 *  2100s </tt> returns 2100s
 *  2100s </tt> returns 2100s


 * See also :
 * Template:CENTURY
 * Template:YEARCC
 * Template:YEARYY
 * Template:MONTHDAYS
 * Template:ISLEAPYEAR
 * Template:JULIANDAY
 * Template:WEEKDAY
 * Template:ISOYEAR
 * Template:CURRENTDECADE

fr:Modèle:DECADE