Template:JULIANDAY.MINUTE
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 minute (between 00 and 59) within the Julian or Gregorian calendar.
Examples
{{JULIANDAY.MINUTE|{{JULIANDAY|-4799|3|1|0|0|0}}}}returns 59 (proleptic) (in year 4800 BC), first Gregorian date where the result is warrantied to be correct{{JULIANDAY.MINUTE|{{JULIANDAY|-4799|3|1}}}}returns 59 (proleptic) (in year 4800 BC), same date at noon{{JULIANDAY.MINUTE|{{JULIANDAY|-4799|3|2}}}}returns 59 (proleptic) (in year 4800 BC), tests the 1 day increment{{JULIANDAY.MINUTE|{{JULIANDAY|-4713|11|24}}}}returns 00 (proleptic) (in year 4714 BC){{JULIANDAY.MINUTE|{{JULIANDAY|2026|8|6|0|0|0}}}}returns 00{{JULIANDAY.MINUTE|{{JULIANDAY|2026|8|6|03|32|22}}}}returns 32{{JULIANDAY.MINUTE|{{JULIANDAY|2026|8|6|23|59|59}}}}returns 59{{JULIANDAY.MINUTE|83602354}}returns 00{{JULIANDAY.MINUTE|83602354.000695}}returns 01{{JULIANDAY.MINUTE|83602354.001389}}returns 02{{JULIANDAY.MINUTE|83602354.25}}returns 00