Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
ReYMoNPVR #1
Wrong time
I am using this line to display time:
<cfoutput>#TimeFormat(Now(), "hh:mm:ss tt")#</cfoutput></p>
but, it displays a wrong time.
The server and the client machines have the same date and time.
From where does it take the time?
ReYMoNPVR Guest
-
netstream.time delivers wrong values
Hi all, I got an odd output after appending data to a netsream. During play the recorded stream I get wrong numbers for the first part of the... -
RegisterStartupScript firing at the wrong time
I have a weird thing going on. I think I've figured out what's causing my problem, but I can't find any way to fix it. I have a custom server... -
DateTime getting wrong time zone
I seem to have found a bug in the DateTime class's determination of the local time zone. This one-liner demonstrates the problem: $ ruby -rdate... -
#25592 [Opn->Bgs]: Get wrong timezone and time
ID: 25592 Updated by: sniper@php.net Reported By: pennington at rhodes dot edu -Status: Open +Status: ... -
#25592 [NEW]: Get wrong timezone and time
From: pennington at rhodes dot edu Operating system: Windows NT SP6a PHP version: 4.3.3 PHP Bug Type: Date/time related Bug... -
jdeline #2
Re: Wrong time
Could you provide an example of the bad time? For example, at 5 p.m., what does it display? Now() takes the date time from the server.
jdeline Guest
-
ReYMoNPVR #3
Re: Wrong time
This is an example:
at 5 p.m. it displays 9 p.m.
Could you tell me please how to change the server time?
ReYMoNPVR Guest
-
EjayHire@hotmail.com #4
Re: Wrong time
Hello.
If this is a unix box, type date at the command prompt. On a windows box,
check the system time on the taskbar. if that time is correct then you just
need to cf (technically the jvm, but...) that you are in a particular timezone.
In the coldfusion administrator, under Java and jvm options, in JVM Arguments,
add
-Duser.timezone=America/Chicago
replacing America/Chicago with the proper timezone for your area.
EjayHire@hotmail.com Guest



Reply With Quote

