Difference between revisions of "Template:JULIANDAY.HOUR/doc"

From blackwiki
Jump to navigation Jump to search
imported>Kbdank71
(Remove category per per CFD 2008 August 21)
imported>Txantimedia
(Changed the headings from <nowiki>; heading <nowiki>:</nowiki></nowiki> to use Headings, which are editable by section)
Line 3: Line 3:
 
This template takes a Julian day number or timestamp and returns the associated hour (between 00 and 23) within the Julian or Gregorian calendar.
 
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&nbsp;<nowiki>:</nowiki>
+
=== Examples&nbsp; ===
 
* <tt><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>83602353.50<nowiki>}}</nowiki></tt> returns {{{{BASEPAGENAME}}|83602353.50}}
 
* <tt><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>83602353.50<nowiki>}}</nowiki></tt> returns {{{{BASEPAGENAME}}|83602353.50}}
 
* <tt><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>83602353.75<nowiki>}}</nowiki></tt> returns {{{{BASEPAGENAME}}|83602353.75}}
 
* <tt><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>83602353.75<nowiki>}}</nowiki></tt> returns {{{{BASEPAGENAME}}|83602353.75}}
Line 10: Line 10:
 
* <tt><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>83602354.46<nowiki>}}</nowiki></tt> returns {{{{BASEPAGENAME}}|83602353.46}}
 
* <tt><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|</nowiki>83602354.46<nowiki>}}</nowiki></tt> returns {{{{BASEPAGENAME}}|83602353.46}}
  
; See also&nbsp;<nowiki>:</nowiki>
+
=== See also&nbsp; ===
 
* [[Template:JULIANDAY.YEAR]]
 
* [[Template:JULIANDAY.YEAR]]
 
* [[Template:JULIANDAY.MONTH]]
 
* [[Template:JULIANDAY.MONTH]]

Revision as of 17:19, 30 October 2017

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