[i4w_set var=”[i4w_compare1 value1='[i4w_permalink]’ cmp=’~~’ value2=’replay’]
[i4w_compare3 value1='[i4w_get_expiry]’ cmp=’NE’ value2=”]
[i4w_date date='[i4w_get_expiry]’ operation=’+ 3days’ format=’Y/m/d H:i:s’]
[ELSE_compare3]
[i4w_date format=’Y/m/d’] [i4w_date date='(:overridetime:2359)’ format=’H:i:s’]
[/i4w_compare3]
[ELSE_compare1]
[i4w_compare2 value1='[i4w_get_expiry]’ cmp=’EQ’ value2=”]
[i4w_date format=’Y/m/d’] [i4w_date date='(:overridetime:2359)’ format=’H:i:s’]
[ELSE_compare2]
[i4w_date date='[i4w_get_expiry]’ format=’Y/m/d’] [i4w_date date='(:overridetime:2359)’ format=’H:i:s’]
[/i4w_compare2]
[/i4w_compare1]”]”
[i4w_set var2=”[i4w_exec] $var=[i4w_date date='(:var:)’ operation=’+ 4hours’ format=’U’] * 1000; echo ‘This is the U formatted time’ . $var; [/i4w_exec]
[i4w_set var=”[i4w_testexpirycalc overridetime=’1100′]”]
This is var: (:var:)
[i4w_set var2=”[i4w_exec] $var=[i4w_date date='(:var:)’ operation=’+ 4hours’ format=’U’] * 1000; echo ‘This is the U formatted time:’ . $var; [/i4w_exec]
This is var2: (:var2:)
