I believe the time is determined by the time on the server.  If you wanted
to 'change it' for your application, you could easily create a function in
your CF scripts.  Maybe call it 'aNow()' of appNow().  Set it up to return
the same type of data returned by the now() command.
Then add to your Application file the time 'offset' that you want to use.
This way you would return a time offset by that function and still be able
to use all of the dateformat, timeformat and other CF time functions without
much of a hassle.

William

----------------------------------
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-----
::From: Bob Wright [mailto:[EMAIL PROTECTED]
::Sent: Monday, May 12, 2008 3:40 PM
::To: CF-Talk
::Subject: Help! Can't I set a specific time zone for a CF App?
::
::Hi... I'm new here. I've been programming CF for a while but I have never
::come across this problem yet.  I am really hoping someone here can help
::me.
::
::I built an application for a client in the mid-west, but serve it on a
::shared server on the east coast.  The client wants all the times on the
::site to show in central time not eastern time.  But I can't change the
::time on the server. And, I use time-math in so many places in this
::particular application.
::
::Isn't there some way to easily change the time zone of a particular
::application - like in the <cfapplication> or something?  Surely I can't be
::the first person to deal with this problem!  There must be an easy fix
::yes?
::
::Help?
::
::Bob
::
::
::
::
::

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:305129
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to