This:

   put the date into tNow
   convert tNow to seconds
   put "6/6/06" into tThen
   convert tThen to seconds
   put (tNow - tThen) mod 86400 = 0

seems to work OK in a handler. Sometimes the message box behaves differently to the general case.

Best,

Mark

On 28 Oct 2008, at 12:15, Colin Holgate wrote:

This appears to work in the multiline message box:

convert the date to seconds
put it into d1
convert "6/6/06" to seconds
put it into d2
put (d1-d2) mod 86400 = 0

but I can't get it to work as a handler, I get complaints about the d1-d2 line.

In the US this week, the above routine would put true, next week it would put false. In the UK it should already be putting false.


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to