(Undo revision 3057 by Elaeagnifolia (talk)) |
MstrPoptart (talk | contribs) mNo edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{# |
+ | <noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#iferror:{{#ifeq:{{{1|}}} | 0 | 0 Seconds | }}{{#ifeq:{{#expr:trunc({{formatnum:{{{1|}}}|R}}/3600)}} | 0 | |{{#expr:trunc({{formatnum:{{{1|}}}|R}}/3600)}} Hour(s) }} {{#ifeq: {{#expr:{{formatnum:{{{1|}}}|R}}mod3600}} | 0 | | {{#expr:trunc(({{formatnum:{{{1|}}}|R}}mod3600)/60)}} Minute(s) }} | - }}</includeonly> |
Latest revision as of 03:31, 29 May 2020
Description
Template that converts seconds input into hours/minutes format.
Usage
{{SecondToHoursConvert|<time>}}
{{sthc|<time>}}
Example
{{sthc|4800}}
1 Hour(s) 20 Minute(s)
{{sthc|4,800}}
1 Hour(s) 20 Minute(s)
The above documentation is transcluded from Template:SecondToHoursConvert/doc. (edit | history)