Template:Gregorian: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Created template.)
 
m (Text replacement - "<br>" to "<br/>")
 
Line 30: Line 30:
  }}{{#ifexpr: {{{year|{{CURRENTYEAR}}}}} < 1 |
  }}{{#ifexpr: {{{year|{{CURRENTYEAR}}}}} < 1 |
         _ERROR - Can not handle dates before January 1, 1 A.D.
         _ERROR - Can not handle dates before January 1, 1 A.D.
   }}<noinclude><br>
   }}<noinclude><br/>
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: <b><nowiki>{{Gregorian|month = |day = |year = }}</nowiki></b>{{Cat|Formatting Templates}}</noinclude>
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: <b><nowiki>{{Gregorian|month = |day = |year = }}</nowiki></b>{{Cat|Formatting Templates}}</noinclude>

Latest revision as of 18:40, February 8, 2015

739008
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: {{Gregorian|month = |day = |year = }}