Template:Gregorian serial date/doc

Usage
This template gives the serial day according to the proleptic Gregorian calendar, hence with the leap year exceptions of the 100 and 400 year rule, and with backward extrapolation, including year 0 and negative years, with Monday, 1 Jan 1 being day 1. By default this template gives the serial for today. To find the serial for another date fill in the date into this code:  

Today's date is .

Examples

 * gives
 * gives
 * gives
 * gives
 * gives
 * gives
 * gives
 * gives
 * gives
 * gives
 * gives (5 times the number of days of a cycle, 146,097)
 * gives
 * gives
 * gives
 * gives