Daylight Savings Time
Mark Smith
lists at futilism.com
Tue Oct 28 08:38:57 EDT 2008
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
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list