Template:Julian date

From OrthodoxWiki
(Difference between revisions)
Jump to: navigation, search
(new)
 
m (old style)
 
(4 intermediate revisions by one 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 10:46, December 5, 2011

July 15, 2014 (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)

Personal tools
Namespaces
Variants
Actions
Navigation
interaction
Donate

Please consider supporting OrthodoxWiki. FAQs

Toolbox