Template:Gregorian serial date
(Redirected from Template:Gsd)
739376
![]() | This template is used on approximately 3,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua: |
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: <syntaxhighlight lang="wikitext">739376</syntaxhighlight>
Today's date is 739376.
Examples
- <syntaxhighlight lang="wikitext">-146827</syntaxhighlight> gives -146827
- <syntaxhighlight lang="wikitext">-146463</syntaxhighlight> gives -146463
- <syntaxhighlight lang="wikitext">-146462</syntaxhighlight> gives -146462
- <syntaxhighlight lang="wikitext">-146097</syntaxhighlight> gives -146097
- <syntaxhighlight lang="wikitext">-730</syntaxhighlight> gives -730
- <syntaxhighlight lang="wikitext">-366</syntaxhighlight> gives -366
- <syntaxhighlight lang="wikitext">-365</syntaxhighlight> gives -365
- <syntaxhighlight lang="wikitext">0</syntaxhighlight> gives 0
- <syntaxhighlight lang="wikitext">1</syntaxhighlight> gives 1
- <syntaxhighlight lang="wikitext">365</syntaxhighlight> gives 1
- <syntaxhighlight lang="wikitext">730485</syntaxhighlight> gives 730485 (5 times the number of days of a cycle, 146,097)
- <syntaxhighlight lang="wikitext">724642</syntaxhighlight> gives 724642
- <syntaxhighlight lang="wikitext">724743</syntaxhighlight> gives 724743
- <syntaxhighlight lang="wikitext">723404</syntaxhighlight> gives 723404
- <syntaxhighlight lang="wikitext">713228</syntaxhighlight> gives 713228