Difference between revisions of "Template:JDtoGreg/doc"
Jump to navigation
Jump to search
imported>Vanisaac |
imported>Jonesey95 |
||
Line 4: | Line 4: | ||
; Syntax<nowiki>:</nowiki> | ; Syntax<nowiki>:</nowiki> | ||
− | : < | + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki></code>''julian day number''<code><nowiki>}}</nowiki></code> |
* 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. | * 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<nowiki>:</nowiki> | ; Example<nowiki>:</nowiki> | ||
− | * “< | + | * “<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|{{CURRENTJULIANDAY}}}}</nowiki></code>” returns “{{JDtoGreg|{{CURRENTJULIANDAY}}}}” (UTC time) |
; See also<nowiki>:</nowiki> | ; See also<nowiki>:</nowiki> |
Latest revision as of 02:22, 3 June 2020
![]() | This is a documentation subpage for Template:JDtoGreg. It contains usage information, categories and other content that is not part of the original template page. |
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 “Saturday, May 17|17 May 2025 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