Difference between revisions of "Template:IsNow"

From EUSwiki
Jump to: navigation, search
(Created page with "{{#if:{{{Start|}}}>{{#time:yyyymmddhhii|{{LOCALTIMESTAMP}}|{{#if:{{{End|}}}>{{#time:yyyymmddhhii|{{LOCALTIMESTAMP}}|1|0}}|0}}")
 
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{Start|}}}>{{#time:yyyymmddhhii|{{LOCALTIMESTAMP}}|{{#if:{{{End|}}}>{{#time:yyyymmddhhii|{{LOCALTIMESTAMP}}|1|0}}|0}}
+
<includeonly>{{#ifexpr:{{{Start|0}}}<{{#time:YmdHi|{{LOCALTIMESTAMP}}}}
 +
|{{#ifexpr:{{{End|0}}}>{{#time:YmdHi|{{LOCALTIMESTAMP}}}}|1|0}}|0}}</includeonly>

Latest revision as of 12:30, 22 January 2019