Difference between revisions of "Template:JDtoGreg"
Jump to navigation
Jump to search
imported>Cydebot m (Robot - Moving category Date math to Date mathematics templates per CFD at Wikipedia:Categories for discussion/Log/2007 January 19.) |
imported>Quarl ({{Template doc}}) |
||
| 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>{{Template | + | <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>{{Template doc}}</noinclude> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </noinclude> | ||
Revision as of 04:53, 9 March 2007
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 “Tuesday, 20 January 2026 Expression error: Unrecognized punctuation character "[".Template:Mod:Expression error: Unrecognized punctuation character "[".Template:Mod” (UTC time)
- See also:
- Template:JULIANDAY
- Template:JULIANDAY.YEAR
- Template:JULIANDAY.MONTHNAME
- Template:JULIANDAY.DAY
- Template:WEEKDAYNAME
- Template:CURRENTJULIANDAY
| The above documentation is transcluded from Template:JDtoGreg/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |