Jump to content

Template:Countdown/sandbox: Difference between revisions

From Detective Conan Wiki
mNo edit summary
m Testing floor function
Line 2: Line 2:
<!-- Debugging -->
<!-- Debugging -->
<!-- No active debugging tests -->
<!-- No active debugging tests -->
<!-- Days -->
'''{{#expr: floor(({{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ({{#if:{{{utc-offset|}}}|{{{utc-offset}}}|0}} * 3600)}}) / 86400)}}'''


'''{{#expr: ceil(({{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ({{#if:{{{utc-offset|}}}|{{{utc-offset}}}|0}} * 3600)}}) / 86400)}}'''
'''{{#expr: ceil(({{#expr: {{#time:U| {{{end-date}}} {{{end-time}}} }} - {{#time:U}} - ({{#if:{{{utc-offset|}}}|{{{utc-offset}}}|0}} * 3600)}}) / 86400)}}'''

Revision as of 03:44, 1 January 2025