Daylight Savings Time

Colin Holgate coiin at rcn.com
Tue Oct 28 11:54:52 EDT 2008


On Oct 28, 2008, at 11:50 AM, Ken Ray wrote:

> I tested it on a Mac, which is where it failed for me. Didn't get a  
> chance
> to try a PC...

Does my one work for you on your Mac? (it does on mine):

    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






More information about the use-livecode mailing list