Difference between revisions of "Template:Countdown/sandbox"
From Detective Conan Wiki
m |
m (Undo revision 377704 by AvidConanContributor (talk)) (Tag: Undo) |
||
Line 18: | Line 18: | ||
'''{{#expr: floor(( | '''{{#expr: floor(( | ||
{{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ( | {{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ( | ||
− | {{#if:{{{utc-offset|}}}|{{{utc-offset}}}|0}} - (86400 * floor( | + | {{#if:{{{utc-offset|}}}|{{{utc-offset}}}|0}} -(86400*floor( |
{{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ( | {{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ( | ||
{{#if:{{{utc-offset|}}}|{{{utc-offset}}}|0}}) | {{#if:{{{utc-offset|}}}|{{{utc-offset}}}|0}}) | ||
− | + | }} | |
− | ) / 86400)) / 3600 | + | )/86400)))/3600 |
− | ) | + | )''' |
− | ''' | ||
{{#ifeq: | {{#ifeq: |