Template:Gregorian serial date/doc

Template adapted from Wikipedia. See the documentation page for more details.