User:WindyZ/Gregorian serial date
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
This template gives the Gregorian serial day. This is the numbers of days from the start of 1 A.D. (Monday, 1 Jan 1 = 1). (In the Gregorian Calendar there is no year 0) This template should handle all leap year exceptions including the 100 and 400 year rule. By default this template gives the serial for today. To find the serial for another date fill in the date into this code: {{User:WindyZ/Gregorian serial date|month = |day = |year = }}
- {{User:WindyZ/Gregorian serial date|year=1|month=1|day=1}} gives 1
- {{User:WindyZ/Gregorian serial date|year=1582|month=10|day=4}} gives 577725
- {{User:WindyZ/Gregorian serial date|year=1582|month=10|day=15}} gives 577736
- {{User:WindyZ/Gregorian serial date|year=1900|month=2|day=28}} gives 693654
- {{User:WindyZ/Gregorian serial date|year=1900|month=3|day=1}} gives 693655
- {{User:WindyZ/Gregorian serial date|year=2000|month=2|day=29}} gives 730179
- {{User:WindyZ/Gregorian serial date|year=2000|month=3|day=1}} gives 730180