Difference between revisions of "Template:Countdown/sandbox"
From Detective Conan Wiki
m |
m (Removed hours, more indenting revisions) |
||
Line 4: | Line 4: | ||
<!-- Days --> | <!-- Days --> | ||
− | '''{{#expr: floor(({{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ( | + | '''{{#expr: |
− | + | floor( | |
+ | ({{#expr: | ||
+ | {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - | ||
+ | ({{#if: | ||
+ | {{{utc-offset|}}}|{{{utc-offset}}}|0 | ||
+ | }} * 3600) | ||
+ | }}) / 86400 | ||
+ | ) | ||
+ | }}''' | ||
{{#ifeq: | {{#ifeq: | ||
− | {{#expr: | + | {{#expr: |
− | + | floor( | |
− | + | ({{#expr: | |
− | + | {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - | |
− | + | ({{#if: | |
− | + | {{{utc-offset|}}}|{{{utc-offset}}}|0 | |
− | + | }} * 3600) | |
− | + | }}) / 86400 | |
− | + | ) | |
− | + | }} | 1 | |
− | |||
− | {{#if: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ) | ||
− | |||
| day | | day | ||
| days | | days | ||
}} | }} | ||
</div></includeonly> | </div></includeonly> |