Difference between revisions of "Template:JDtoGreg"
Jump to navigation
Jump to search
imported>CBDunkerson (Switching day setting template to working version for now) |
imported>Cydebot m (Robot - Moving category Date math to Date mathematics templates per CFD at Wikipedia:Categories for discussion/Log/2007 January 19.) |
||
| Line 17: | Line 17: | ||
* [[Template:WEEKDAYNAME]] | * [[Template:WEEKDAYNAME]] | ||
* [[Template:CURRENTJULIANDAY]] | * [[Template:CURRENTJULIANDAY]] | ||
| + | [[Category:Date mathematics templates|{{PAGENAME}}]] | ||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 21:42, 6 February 2007
Template:Template documentation
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 “Wednesday, 21 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