Template:Date serial: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 16: | Line 16: | ||
+ {{#time: z |{{{day|{{CURRENTDAY}}}}} {{#time: F|1 {{{month|{{CURRENTMONTHNAME}}}}} 2021}} {{{year|{{CURRENTYEAR}}}}} | + {{#time: z |{{{day|{{CURRENTDAY}}}}} {{#time: F|1 {{{month|{{CURRENTMONTHNAME}}}}} 2021}} {{{year|{{CURRENTYEAR}}}}} | ||
}} | }} | ||
+ {{#ifeq: {{{year}}}|{{CURRENTYEAR}}|0|1}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
[[Category:MicrasWiki]] | [[Category:MicrasWiki]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 07:15, 14 July 2021
This template gives the Gregorian serial day. This is the numbers of days since 1 A.D. 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:
{{Date serial|day = |month = |year = }}
Today's Date is
739656