Daylight Savings Time
Richard Miller
wow at together.net
Tue Oct 28 07:22:48 EDT 2008
Ken,
Did you test my script on a Mac or PC? On my PC it works. On my Mac,
it doesn't. Anyone else find this to be the case? I'd really like to
find a simpler alternative to the solution you present, if it's
possible. But if not, thanks for offering it.
Richard
On Oct 28, 2008, at 1:35 AM, Ken Ray wrote:
>
>> This seems to work for determining if daylight savings time is in
>> effect on a given computer. Would this be reliable?
>>
>> put false into DST
>> put the short time into x
>> convert x to seconds
>> convert x to short time
>> if x <> the short time then put true into DST
>
> No, because AFAIK the act of converting the date will automatically
> adjust
> the returned values. For example, I'm currently experiencing DST, and
> running your code returns "false".
>
> It's a lot more complicated than that (see my previous post)...
>
> ;-)
>
>
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
>
> _______________________________________________
> 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