Template:TimeHMS

From Melvor Idle
Revision as of 16:46, 1 April 2024 by Cottrela (talk | contribs) (Created page with "Takes in a number of seconds and converts it into "X days, H:M:S" For example, {{T|Time|90135}} becomes {{Time|90135}}. This is a convenience function for Template:Time. This uses a function inside of Module:Common.<onlyinclude><includeonly>{{#invoke:common|prettyPrintTime|{{{1}}}|hms=true}}</includeonly></onlyinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Takes in a number of seconds and converts it into "X days, H:M:S" For example, {{Time|90135}} becomes 1 day, 1 hour, 2 minutes, 15.00 seconds. This is a convenience function for Template:Time.

This uses a function inside of Module:Common.