Template:ExpandTime

From Kerbal Space Program Wiki
Revision as of 12:16, 19 February 2013 by XZise (talk | contribs) (Created page with "<includeonly>{{#ifexpr: {{{1}}} > 86400|{{formatnum: {{#expr: trunc({{{1}}} / 86400)}}}} d|}} {{#ifexpr: {{{1}}} > 3600|{{#expr: {{{1}}} / 3600 mod 24}} h|}} {{#ifexpr: {{{1}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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).

Example

{{ExpandTime|9203544.6}}

426 d 0 h 32 m 24.6 s