Template:ExpandTime: Difference between revisions

From Kerbal Space Program 2 Wiki
Jump to navigation Jump to search
importing functional ExpandTime template
Tag: 2017 source edit
(No difference)

Revision as of 06:40, 2 January 2025

# 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