Template:TimeDiff: Difference between revisions
Appearance
Created timeDiff template |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
'''Format:''' | |||
<pre> | <pre> | ||
{{timeDiff|date|time|utc-offset}} | {{timeDiff|date|time|utc-offset}} | ||
<pre></noinclude> | </pre></noinclude> | ||
<includeonly> | <includeonly> | ||
{{#expr: | {{#expr: | ||
{{#time:U| {{{1}}} {{{2}}} }} - {{#time:U}} - ({{#if:{{{3|}}}|{{{3}}}|0}} * 3600) | {{#time:U| {{{1}}} {{{2}}} }} - {{#time:U}} - ({{#if:{{{3|}}}|{{{3}}}|0}} * 3600) | ||
}} | }}</includeonly> | ||
</includeonly> | |||
Latest revision as of 22:19, 1 January 2025
Format:
{{timeDiff|date|time|utc-offset}}