Check the date and time on the ColdFusion server. Also, make sure that your DB 
server and ColdFusion server are in the same time zone.


-----Original Message-----
From: daniel kessler [mailto:dani...@umd.edu] 
Sent: Tuesday, March 12, 2013 8:49 AM
To: cf-talk
Subject: now( ) is off by an hour


I am working on an application that does it's own timeout, at 45 minutes.  It 
gets the last logged in time and compares it to the database current time.  The 
database time is correct.  However, the now() time is incorrect by an hour.  I 
assume this is due to daylight savings time.

So where does now() get it's time?  I'm on a VPN and that has the correct time 
when I check it's clock.  Would it then be the server that hosts the VPN?  Or 
someplace else?

thank you.

daniel 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354933
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to