Difference between revisions of "Template:JDtoGreg"

From blackwiki
Jump to navigation Jump to search
imported>Magioladitis
m (Updated link to documentation, replaced: {{Documentation, template}} → {{Documentation}} using AWB (7694))
imported>Lightmouse
(no need to link dates)
 
Line 1: Line 1:
<includeonly>[[{{JulianWeekday|{{{1}}}}}]], [[{{JULIANDAY.MONTHNAME|{{{1}}}}} {{JULIANDAY.DAY|{{{1}}}}}|{{JULIANDAY.DAY|{{{1}}}}} {{JULIANDAY.MONTHNAME|{{{1}}}}}]] [[{{JULIANDAY.YEAR|{{{1}}}}}]] {{JULIANDAY.HOUR|{{{1}}}}}:{{JULIANDAY.MINUTE|{{{1}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
<includeonly>{{JulianWeekday|{{{1}}}}}, {{JULIANDAY.MONTHNAME|{{{1}}}}} {{JULIANDAY.DAY|{{{1}}}}}|{{JULIANDAY.DAY|{{{1}}}}} {{JULIANDAY.MONTHNAME|{{{1}}}}} {{JULIANDAY.YEAR|{{{1}}}}} {{JULIANDAY.HOUR|{{{1}}}}}:{{JULIANDAY.MINUTE|{{{1}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 10:02, 10 July 2011

Template documentation[view] [edit] [history] [purge]

Format a Julian day timestamp to the complete English date and time in the Gregorian calendar with links.

Syntax:
{{JDtoGreg|julian day number}}
  • The julian day number is an integer at noon (12:00:00), the same UTC day starts at the julian day number minus 0.5.
Example:
  • {{JDtoGreg|{{CURRENTJULIANDAY}}}}” returns “Friday, September 5|5 September 2025 Expression error: Unrecognized punctuation character "[".Template:Mod:Expression error: Unrecognized punctuation character "[".Template:Mod” (UTC time)
See also: