Template:Gregorian serial date/doc

Ripped/slightly modified from Wikipedia, so more can be read there. In short, it returns a value for any AD Gregorian calendar date, increasing by 1 each day since January 1, 1 AD. By looking at the difference between two such values for different dates, the number of days between two dates can be calculated.