My first guess would be "no".  getTimeZoneInfo() will only pull the
"time zone" for the server on which it us called.  You would need to do
some date math and then you may be back to the original problem where
you began.

If I can think of anything, I'll post back.

M!ke 

-----Original Message-----
From: Aaron Roberson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 11, 2006 11:43 AM
To: CF-Talk
Subject: Re: How do I detect day lights savings?

If I set the locale to English (US) will that change the results
structure of the getTimeZoneInfo() to US time zone?

On 5/11/06, Aaron Roberson <[EMAIL PROTECTED]> wrote:
> > CF's getTimeZoneInfo() function.
>
> It looks like getTimeZoneInfo().isDSTOn is what I was looking for but 
> now another complexity arises.
>
> The getTimeZoneInfo function gets local time zone information for the 
> computer on which it is called, relative to Universal Time Coordinated

> (UTC). That means that it gets the time zone information of the remote

> server in Ireland, right? If Ireland has a different DST then 
> California, checking to see if the date on the remote server is DST 
> wouldn't really help.
>
> -Aaron

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240237
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to