I have the same issue, because my server is in WashingtonDC and I want to be
showing Australian Eastern Time.  So I have the following line in my
application.cfm file:

<.cfset austime= #now()# + #createTimeSpan(0,8,0,0)#>


and instead of using Now() anywhere, I just use the variable #austime#.
This variable also advances the date as well as the time.  It's accurate to
5 minutes, which is how accurate the sysadmin keeps the clock on the server.
I'm taking issue with him on that but that's another story.


When daylight savings changes,  since ours moves in the opposite direction
to the US daylight saving and on different dates, I just have to change the
timespan value in one file to correct my times again all over my sites.


Cheers,
Mike Kear
Windsor, NSW, Australia
AFP WebWorks


-----Original Message-----
From: Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 18 September 2002 9:51 AM
To: CF-Talk
Subject: Re: Timezones and CF

The date only needs be updated between 12.00 midnight and 5.00am gmt - and
to add insult to injury - what about Daylight savinng that happens just
about halloween?

> You seem to be saying <cfoutput>#dateadd("h",5,now())#</cfoutput>
> doesn't increment the day. Try this test,
>
> <cfoutput>
> #now()#<br>
> #dateadd("h",24,now())#
> </cfoutput>
>
> You should find the date has advanced by one.
>



______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to