Template:CENTURY

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


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


 * Examples :
 *  20  returns 20
 *  20  returns 20
 *  20  returns 20
 *  21  returns 21
 *  21  returns 21
 *  21  returns 21
 *  22  returns 22
 *  22 </tt> returns 22


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

fr:Modèle:CENTURY