Difference between revisions of "Template:Julian date"

From OrthodoxWiki
Jump to: navigation, search
m (Usage)
m (old style)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#time:{{{format|F j, Y (\O\C)}}} |- 13 day }}<noinclude>
+
{{#time:{{{format|F j, Y (\O\S)}}} |{{{date|}}}- 13 day }}<noinclude>
 
----
 
----
 
==Usage==
 
==Usage==
Line 7: Line 7:
 
Usage:  '''<nowiki>{{</nowiki>Julian date<nowiki>}}</nowiki>'''
 
Usage:  '''<nowiki>{{</nowiki>Julian date<nowiki>}}</nowiki>'''
  
Or this template displays the current date on the Julian Calendar in the format of the '''format''' parameter.  
+
Or this template displays the any date on the Julian Calendar in the format of the '''format''' parameter.  
  
Usage:  '''<nowiki>{{</nowiki>Julian date|format='''''format string'''''<nowiki>}}</nowiki>'''
+
Usage:  '''<nowiki>{{</nowiki>Julian date|date='''''mm dd yyyy'''''|format='''''format string'''''<nowiki>}}</nowiki>'''
  
where ''nnnn'' is the year
+
where ''mm dd yyyy'' is the month day year of the Gregorian date (new calendar)
  
default ''format string'' is '''F j, Y (\O\C)'''
+
default date is today (default month is this month, default day is today, default year is this year)
 +
 
 +
default ''format string'' is '''F j, Y (\O\S)'''
  
 
format string see chart at [[Template:Pascha date]]
 
format string see chart at [[Template:Pascha date]]
 +
==Example==
 +
'''<nowiki>{{Julian date|date=Jan 7 2009}}</nowiki>'''  returns:
  
 +
{{Julian date|date=Jan 7 2009}}
  
 
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]]
 
[[Category:OrthodoxWiki Templates|{{PAGENAME}}]]
 
[[Category:Calendar templates]]</noinclude>
 
[[Category:Calendar templates]]</noinclude>

Latest revision as of 17:46, December 5, 2011

April 3, 2024 (OS)


Usage

This template displays the current date on the Julian Calendar

Usage: {{Julian date}}

Or this template displays the any date on the Julian Calendar in the format of the format parameter.

Usage: {{Julian date|date=mm dd yyyy|format=format string}}

where mm dd yyyy is the month day year of the Gregorian date (new calendar)

default date is today (default month is this month, default day is today, default year is this year)

default format string is F j, Y (\O\S)

format string see chart at Template:Pascha date

Example

{{Julian date|date=Jan 7 2009}} returns:

December 25, 2008 (OS)