Difference between revisions of "Template:Countdown/sandbox"
From Detective Conan Wiki
m (Indenting) |
m (More indenting) |
||
Line 10: | Line 10: | ||
) / 86400)}} | ) / 86400)}} | ||
| 1 | | 1 | ||
− | | '''{{#expr: ceil(({{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ({{#if:{{{utc-offset|}}}|{{{utc-offset}}}|0}} * 3600)}}) / 86400)}}''' day | + | | '''{{#expr: ceil(( |
− | | '''{{#expr: ceil(({{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U | + | {{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ( |
+ | {{#if:{{{utc-offset|}}}|{{{utc-offset}}}|0}} * 3600 | ||
+ | )}} | ||
+ | ) / 86400)}}''' day | ||
+ | | '''{{#expr: ceil(( | ||
+ | {{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ( | ||
+ | {{#if:{{{utc-offset|}}}|{{{utc-offset}}}|0}} * 3600 | ||
+ | )}} | ||
+ | ) / 86400)}}''' days | ||
}} | }} | ||
</div><!-- Need to figure out how to add optional parameters--></includeonly> | </div><!-- Need to figure out how to add optional parameters--></includeonly> |