Template:ExpandTime

From Kerbal Space Program Wiki
Revision as of 13:04, 29 January 2015 by UmbralRaptor (talk | contribs) (*Fixing Kerbin days being 6 hours instead of 24.)
Jump to: navigation, search
# Description
1 Time in seconds

This template converts a time given in seconds into multiple different time units (days, hours, minutes and seconds), where:

  • 1 minute = 60 seconds
  • 1 hour = 60 minutes = 3600 seconds
  • 1 day = 6 hours = 360 minutes = 21600 seconds

It uses Kerbin's sidereal days as this is the time unit shown on the UI.

Example

{{ExpandTime|9203544.6}}

426 d 0 h 32 m 24.6 s