Ask a Question related to Coldfusion Server Administration, Design and Development.
-
denverrails.com #1
incorrect time from CF
All time functions appear to be based off GMT and not actual system time
adjusted for time zone. The function #now()# used to show local date/time and
now is off by my location's GMT offset. I updated JVM (per
[url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=d2ab4470[/url]) but no luck.
What makes this worse is queries based on time conflict between CF time, which
is in error, and SQL server time, which is correct. Any help is appreciated.
denverrails.com Guest
-
Incorrect time of Coldfusion MX 7.02 console
Hi, I just installed coldfusion MX 7.02 on my Redhat Linux EL 4. I configured my linux box with a time zone of America/Toronto. The time on the... -
Time Zone and Time are incorrect
My Windows 2003 server display an incorrect time zone. So when I change it to the correct time zone and apply the changes and go back to check to... -
#23467 [Com]: Showing incorrect Time Zone
ID: 23467 Comment by: danielc at analysisandsolutions dot com Reported By: John at JGSystems dot net Status: ... -
#23467 [Opn]: Showing incorrect Time Zone
ID: 23467 User updated by: John at JGSystems dot net Reported By: John at JGSystems dot net Status: Open Bug Type: ... -
#23467 [Ver->Fbk]: Showing incorrect Time Zone
ID: 23467 Updated by: sniper@php.net Reported By: John at JGSystems dot net -Status: Verified +Status: ... -
PaulH **AdobeCommunityExpert** #2
Re: incorrect time from CF
denverrails.com wrote:
huh? isn't that local time?> All time functions appear to be based off GMT and not actual system time
> adjusted for time zone. The function #now()# used to show local date/time and
> now is off by my location's GMT offset. I updated JVM (per
what's the server's OS tz set to? cf takes it's tz cue from the underlying java> [url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=d2ab4470[/url]) but no luck.
SDK. i guess start by checking what the server's default is, what does this report:
tz=createObject("java","java.util.TimeZone").getDe fault();
writeoutput(tz.getDisplayName(true,tz.LONG));
is it *your* tz?
PaulH **AdobeCommunityExpert** Guest
-
denverrails.com #3
Re: incorrect time from CF
tz=createObject("java","java.util.TimeZone").getDe fault();
writeoutput(tz.getDisplayName(true,tz.LONG)); returns 'Mountain Daylight
Time', that is my timezone yet timestamp in debug still shows mytime +7 hours
denverrails.com Guest
-
denverrails.com #4
Re: incorrect time from CF
This is a win2k server. time zone already said mountain but apparently did not
get picked up by java??? I changed it to something other , then back again
and restarted coldfusion. Success. Thanks PaulH!!!
denverrails.com Guest



Reply With Quote

