Difference between revisions of "Template:Gregorian date"
(new) |
(Example) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
This template displays any Julian date on the Gregorian Calendar in the format of the '''format''' parameter. | This template displays any Julian date on the Gregorian Calendar in the format of the '''format''' parameter. | ||
− | Usage: '''<nowiki>{{</nowiki> | + | Usage: '''<nowiki>{{</nowiki>Gregorian date|date='''''Mmm dd yyyy'''''|format='''''format string'''''<nowiki>}}</nowiki>''' |
− | where '' | + | where ''Mmm dd yyyy'' is the month day year of the Gregorian date (new calendar) |
default date is today Julian witch should return today Gregorian | default date is today Julian witch should return today Gregorian | ||
Line 14: | Line 14: | ||
format string see chart at [[Template:Pascha date]] | format string see chart at [[Template:Pascha date]] | ||
+ | ==Example== | ||
+ | '''<nowiki>{{Gregorian date|date=Dec 25 2020}}</nowiki>''' returns: | ||
+ | {{Gregorian date|date=Dec 25 2020}} | ||
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]] | [[Category:OrthodoxWiki Templates|{{PAGENAME}}]] | ||
[[Category:Calendar templates]]</noinclude> | [[Category:Calendar templates]]</noinclude> |
Latest revision as of 20:13, December 1, 2011
April 18, 2024
Usage
This template displays any Julian date on the Gregorian Calendar in the format of the format parameter.
Usage: {{Gregorian date|date=Mmm dd yyyy|format=format string}}
where Mmm dd yyyy is the month day year of the Gregorian date (new calendar)
default date is today Julian witch should return today Gregorian
default format string is F j, Y
format string see chart at Template:Pascha date
Example
{{Gregorian date|date=Dec 25 2020}} returns:
January 7, 2021