Template:Gregorian serial date
Appearance
739180
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
{{Gregorian serial date|month = |day = |year = }}
Today's date is 739180.
Examples
- gives -146826_ERROR - Can not handle dates before January 1, 1 A.D.
{{gsd|year=-401|month=1|day=1}}
- gives -146462_ERROR - Can not handle dates before January 1, 1 A.D.
{{gsd|year=-401|month=12|day=31}}
- gives -146461_ERROR - Can not handle dates before January 1, 1 A.D.
{{gsd|year=-400|month=1|day=1}}
- gives -146096_ERROR - Can not handle dates before January 1, 1 A.D.
{{gsd|year=-400|month=12|day=31}}
- gives -729_ERROR - Can not handle dates before January 1, 1 A.D.
{{gsd|year=-1|month=1|day=1}}
- gives -365_ERROR - Can not handle dates before January 1, 1 A.D.
{{gsd|year=-1|month=12|day=31}}
- gives -364_ERROR - Can not handle dates before January 1, 1 A.D.
{{gsd|year=0|month=1|day=1}}
- gives 1_ERROR - Can not handle dates before January 1, 1 A.D.
{{gsd|year=0|month=12|day=31}}
- gives 1
{{gsd|year=1|month=1|day=1}}
- gives 1
{{gsd|year=1|month=12|day=31}}
- gives 730485 (5 times the number of days of a cycle, 146,097)
{{gsd|year=2000|month=12|day=31}}
- gives 724642
{{gsd|year=1985|month=1|day=1}}
- gives 724743
{{gsd|year=1985|month=4|day=12}}
- gives 723404
{{gsd|year=1981|month=8|day=12}}
- gives 713228
{{gsd|year=1953|month=10|day=2}}