Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:JULIANDAY.HOUR/doc

From Wikipedia, the free encyclopedia

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 

[edit]
  • {{JULIANDAY.HOUR|{{JULIANDAY|-4799|3|1|0|0|0}}}} returns 23 (proleptic) (in year 4800 BC), first Gregorian date where the result is warrantied to be correct
  • {{JULIANDAY.HOUR|{{JULIANDAY|-4799|3|1}}}} returns 11 (proleptic) (in year 4800 BC), same date at noon
  • {{JULIANDAY.HOUR|{{JULIANDAY|-4799|3|2}}}} returns 11 (proleptic) (in year 4800 BC), tests the 1 day increment
  • {{JULIANDAY.HOUR|{{JULIANDAY|-4713|11|24}}}} returns 12 (proleptic) (in year 4714 BC)
  • {{JULIANDAY.HOUR|{{JULIANDAY|2026|8|13|0|0|0}}}} returns 00
  • {{JULIANDAY.HOUR|{{JULIANDAY|2026|8|13|10|29|37}}}} returns 10
  • {{JULIANDAY.HOUR|{{JULIANDAY|2026|8|13|23|59|59}}}} returns 23
  • {{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

See also 

[edit]