If conditionals with operations

swatme

Well-known member
Hi

i want to achieve that if the datetime posted is still within 30 seconds of the server time

<xen:if is="{$serverTime} - datepostime = 30">
hey wait for 30 seconds
<xen:else />
ok your good to go
</xen:if>

is that possible in if conditionals where there is subtraction ?
how to achieve that in if conditionals?

thanks
 
Top Bottom