Template:JULIANDAY.SECOND
Jump to navigation
Jump to search
| 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 second (between 00 and 59) within the Julian or Gregorian calendar.
Examples
{{JULIANDAY.SECOND|83602353.50}}returns 00{{JULIANDAY.SECOND|83602353.75}}returns 00{{JULIANDAY.SECOND|83602354.00}}returns 00{{JULIANDAY.SECOND|83602354.000012}}returns 01{{JULIANDAY.SECOND|83602354.000024}}returns 02{{JULIANDAY.SECOND|83602354.000683}}returns 59{{JULIANDAY.SECOND|83602354.000695}}returns 00{{JULIANDAY.SECOND|83602354.25}}returns 00