Template:Julian date

From OrthodoxWiki
(Difference between revisions)
Jump to: navigation, search
(any year)
m (old style)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
{{#time:{{{format|F j, Y (\O\C)}}} |{{{date|}}}- 13 day }}<noinclude>
+
{{#time:{{{format|F j, Y (\O\S)}}} |{{{date|}}}- 13 day }}<noinclude>
 
----
 
----
 
==Usage==
 
==Usage==
Line 11: Line 11:
 
Usage:  '''<nowiki>{{</nowiki>Julian date|date='''''mm dd yyyy'''''|format='''''format string'''''<nowiki>}}</nowiki>'''
 
Usage:  '''<nowiki>{{</nowiki>Julian date|date='''''mm dd yyyy'''''|format='''''format string'''''<nowiki>}}</nowiki>'''
  
where ''mm dd yyyy'' is the month day year
+
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 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\C)'''
+
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

October 11, 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