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: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/


_______________________________________________
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