Template:JULIANDAY.HOUR
Appearance
This template is used on approximately 2,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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 00{{JULIANDAY.HOUR|83602353.75}}
returns 06{{JULIANDAY.HOUR|83602354.00}}
returns 12{{JULIANDAY.HOUR|83602354.25}}
returns 18{{JULIANDAY.HOUR|83602354.46}}
returns 23