Difference between revisions of "Template:Countdown/sandbox"
From Detective Conan Wiki
m |
m |
||
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 | + | ) / 86400)) / 3600 |
− | )''' | + | )}} |
+ | ''' | ||
{{#ifeq: | {{#ifeq: |