If you are getting the offset from the gettimezoneinfo(), that is the
servers offset, not the remote locations offset.

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com

-----Original Message-----
From: Bob Wright [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 13, 2008 12:53 PM
To: CF-Talk
Subject: Re: Help! Can't I set a specific time zone for a CF App? [heur
SPAMTRAP]

Thanks to all for the replies. It really shockes me that a simple mechanism
to change the timezone of a particular app was never added to CF.  I'm sure
this has been a problem for many over the years. 

Dave pointed me to a simple UDF that did the trick.  Thanks Dave!

Regarding the question about remembering to change the offset when we go
back to standard time, I don't  think this that is an issue, is it?  As long
as timeZoneInfo.UTCtotalOffset increments to reflect the new offset, I can
just use Application.TimeZone = -(timeZoneInfo.utcHourOffset+1) right?

Again, thanks all for your replies.  

Bob


>If you know of a bandage that doesn't need changing, please do share.
>
>.:.:.:.:.:.:.:.:.:.:.:.:.
>Bobby Hartsfield
>http://acoderslife.com
>http://cf4em.com
>
>SPAMTRAP]
>
>When applying a bandage over a 'wound' (beware, analogy here), you must be
>prepared to need change the bandage from time to time....
>
>----------------------------------
>William Seiter
>ColdFusion Web Developer / Consultant
>http://william.seiter.com
>
> 
>Have you ever read a book that changed your life?
>Go to: http://www.winninginthemargins.com
>Use PassKey: GoldenGrove
>You'll be glad you did.
> 
> 
>::-----Original Message-----
>::
>::Sent: Monday, May 12, 2008 4:32 PM
>::To: CF-Talk
>::Subject: Re: Help! Can't I set a specific time zone for a CF App? [heur
>::SPAMTRAP]
>::
>::Bobby Hartsfield wrote:
>::> You could store the time offset within an application variable then use
>::that
>::> along with dateadd() within all of your dateformat and tiemformat calls
>::> throughout the application.
>::
>::what about DST changes?
>::
>::
>:: 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305198
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to