Difference between revisions of "Template:JULIANDAY.HOUR"

From blackwiki
Jump to navigation Jump to search
imported>Rudjek
(speedy re-categorisation using AWB)
imported>MusikAnimal
m (Protected "Template:JULIANDAY.HOUR": Highly visible template; 2,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{HOUR|({{{1}}}*24+11.5 round 0)}}</includeonly><noinclude>{{Template documentation}}
+
<onlyinclude><includeonly>{{HOUR|({{{1}}}*24+11.5 round 0)}}</includeonly></onlyinclude>
  
This template takes a Julian day number or timestamp and returns the associated hour (between 00 and 23) within the Julian or Gregorian calendar.
+
{{Documentation}}
  
; Examples&nbsp;<nowiki>:</nowiki>
+
<!-- Please add categories and interwikis to the /doc subpage, not here. -->
* <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>83602353.50<nowiki>}}</nowiki></tt> returns {{{{PAGENAME}}|83602353.50}}
 
* <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>83602353.75<nowiki>}}</nowiki></tt> returns {{{{PAGENAME}}|83602353.75}}
 
* <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>83602354.00<nowiki>}}</nowiki></tt> returns {{{{PAGENAME}}|83602353.00}}
 
* <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>83602354.25<nowiki>}}</nowiki></tt> returns {{{{PAGENAME}}|83602353.25}}
 
* <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki>83602354.46<nowiki>}}</nowiki></tt> returns {{{{PAGENAME}}|83602353.46}}
 
 
 
; See also&nbsp;<nowiki>:</nowiki>
 
* [[Template:JULIANDAY.YEAR]]
 
* [[Template:JULIANDAY.MONTH]]
 
* [[Template:JULIANDAY.DAY]]
 
* [[Template:JULIANDAY.MINUTE]]
 
* [[Template:JULIANDAY.SECOND]]
 
* [[Template:JULIANDAY]]
 
* [[Template:WEEKDAY]]
 
 
 
[[Category:Date-computing templates|{{PAGENAME}}]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
 
 
[[fr:Template:JULIANDAY.HOUR]]
 
 
 
</noinclude>
 

Latest revision as of 17:16, 9 October 2017


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

This template takes a Julian day number or timestamp and returns the associated hour (between 00 and 23) within the Julian or Gregorian calendar.

Examples 

  • {{JULIANDAY.HOUR|83602353.50}} returns Expression error: Unrecognized punctuation character "[".Template:Mod
  • {{JULIANDAY.HOUR|83602353.75}} returns Expression error: Unrecognized punctuation character "[".Template:Mod
  • {{JULIANDAY.HOUR|83602354.00}} returns Expression error: Unrecognized punctuation character "[".Template:Mod
  • {{JULIANDAY.HOUR|83602354.25}} returns Expression error: Unrecognized punctuation character "[".Template:Mod
  • {{JULIANDAY.HOUR|83602354.46}} returns Expression error: Unrecognized punctuation character "[".Template:Mod

See also 

fr:Template:JULIANDAY.HOUR