More actions
Created page with "<includeonly> {{#ifexpr:trunc({{#expr:({{{1|0}}}/1000/60/60)}})|{{padleft:{{#expr:trunc({{#expr:{{{1|0}}}/1000/60/60}})}}|2}}:}}{{padleft:{{#expr:trunc({{#expr:({{{1|0}}}/1000/60)mod60}})}}|2}}:{{padleft:{{#expr:trunc({{#expr:({{{1|0}}}/1000)mod60}})}}|2}}.{{#invoke:String|sub|{{padleft:{{{1|0}}}|3}}|-3}} </includeonly> <noinclude> == Usage == Enter the time in ms as parameter. Example: <pre> {{Time|12345}} </pre> will give {{Time|12345}} </noinclude>" |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#ifexpr:trunc({{#expr:({{{1|0}}}/1000/60/60)}})|{{padleft:{{#expr:trunc({{#expr:{{{1|0}}}/1000/60/60}})}}|2}}:}}{{padleft:{{#expr:trunc({{#expr:({{{1|0}}}/1000/60)mod60}})}}|2}}:{{padleft:{{#expr:trunc({{#expr:({{{1|0}}}/1000)mod60}})}}|2}}.{{#invoke:String|sub|{{padleft:{{{1|0}}}|3}}|-3}} | {{#ifexpr:trunc({{#expr:({{{1|0}}}/1000/60/60)}})|{{padleft:{{#expr:trunc({{#expr:{{{1|0}}}/1000/60/60}})}}|2}}:}}{{padleft:{{#expr:trunc({{#expr:({{{1|0}}}/1000/60)mod60}})}}|2}}:{{padleft:{{#expr:trunc({{#expr:({{{1|0}}}/1000)mod60}})}}|2}}.{{#invoke:String|sub|{{padleft:{{{1|0}}}|3}}|-3}} | ||
</includeonly> | </includeonly><noinclude> | ||
<noinclude> | |||
== Usage == | == Usage == | ||
Enter the time in ms as parameter. Example: | Enter the time in ms as parameter. Example: | ||
<pre> | <pre> | ||
{{Time|12345}} | {{{Time|12345}}} | ||
</pre> | </pre> | ||
will give {{Time|12345}} | will give {{{Time|12345}}} | ||
</noinclude> | </noinclude> | ||
Revision as of 21:27, 25 January 2026
Usage
Enter the time in ms as parameter. Example:
{{{Time|12345}}}
will give 12345