Difference between revisions of "Template:JULIANDAY.SECOND"
Jump to navigation
Jump to search
imported>Quarl («84 words changed») |
imported>MusikAnimal m (Protected "Template:JULIANDAY.SECOND": Highly visible template; 2,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{SECOND|({{{1}}})*86400+59.5 round 0}}</includeonly><noinclude>{{ | + | <includeonly>{{SECOND|({{{1}}})*86400+59.5 round 0}}</includeonly><noinclude> |
+ | {{Documentation}} | ||
+ | <!-- Please add categories and interwikis to the /doc subpage, not here. --> | ||
+ | </noinclude> |
Latest revision as of 17:16, 9 October 2017
This template takes a Julian day number or timestamp and returns the associated second (between 00 and 59) within the Julian or Gregorian calendar.
Examples
{{JULIANDAY.SECOND|83602353.50}}
returns Template:SECOND{{JULIANDAY.SECOND|83602353.75}}
returns Template:SECOND{{JULIANDAY.SECOND|83602354.00}}
returns Template:SECOND{{JULIANDAY.SECOND|83602354.000012}}
returns Template:SECOND{{JULIANDAY.SECOND|83602354.000024}}
returns Template:SECOND{{JULIANDAY.SECOND|83602354.000683}}
returns Template:SECOND{{JULIANDAY.SECOND|83602354.000695}}
returns Template:SECOND{{JULIANDAY.SECOND|83602354.25}}
returns Template:SECOND
See also
- Template:JULIANDAY.YEAR
- Template:JULIANDAY.MONTH
- Template:JULIANDAY.DAY
- Template:JULIANDAY.HOUR
- Template:JULIANDAY.MINUTE
- Template:JULIANDAY
- Template:WEEKDAY
The above documentation is transcluded from Template:JULIANDAY.SECOND/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. |