Re: Now() offset by 1 hour

2013-04-04 Thread Mike K
I might be wrong ( i sometimes have been known to be wrong, but not very often) but I thought GMT didnt have daylight savings. I thought GMT was the same all year round, and it was the timezone at London that changed daylight savings. Or is it just that UTC was constant and sometimes was the

Re: Now() offset by 1 hour

2013-04-04 Thread Adam Cameron
Correct. GMT is GMT, and always matches UTC. During daylight saving the TZ in the UK is BST (UTC+1). -- Adam On 4 April 2013 19:31, Mike K afpwebwo...@gmail.com wrote: I might be wrong ( i sometimes have been known to be wrong, but not very often) but I thought GMT didnt have daylight

Now() offset by 1 hour

2013-04-02 Thread Richard White
Hi, Since the clocks went forward in GMT the now() function is returning an incorrect time (-1 hour to what the server clock reads). I have searched over the internet and found several references to this but not solution. Has anyone found a way to fix? I am using CF9 Thanks Richard

Re: Now() offset by 1 hour

2013-04-02 Thread Wil Genovese
This could be caused by an old JVM version. Which version JVM are you running? Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 12:48 PM, Richard White rich...@re-base.net wrote: Hi,

Re: Now() offset by 1 hour

2013-04-02 Thread Richard White
Hi Will, thanks for your suggestion i just updated to the latest JVM 7, update 17. No change unfortunately This could be caused by an old JVM version. Which version JVM are you running? Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com

Re: Now() offset by 1 hour

2013-04-02 Thread Wil Genovese
On rare occasion I've had a JVM refuse to get onto the correct timezone, while new and having the correct timezone data and the server having the correct timezone data and even reporting the correct time. 1. Make sure the JVM is reporting the correct timezone. 2. if its not, you can force it

Re: Now() offset by 1 hour

2013-04-02 Thread Richard White
Yes, it is reporting the correct timezone. I have tried forcing the change to a different timezone, restarting the server and changing it back again but it is still reporting the incorrect time. It could well be a bug in 1.7 although I thought others may have reporting this too yet haven't

Re: Now() offset by 1 hour

2013-04-02 Thread Cameron Childress
It may be worth double checking that you are using the version you think you are using: This will tell you: #CreateObject(java, java.lang.System).getProperty(java.version)# On Tue, Apr 2, 2013 at 2:03 PM, Richard White rich...@re-base.net wrote: Hi Will, thanks for your suggestion i just

Re: Now() offset by 1 hour

2013-04-02 Thread Adam Cameron
Just verified it's reporting GMT time correctly for me on 1.7. -- Adam On 3 April 2013 07:23, Richard White rich...@re-base.net wrote: It could well be a bug in 1.7 although I thought others may have reporting this too yet haven't seen anything.

Re: Now() offset by 1 hour

2013-04-02 Thread Richard White
Thanks guys. After running this code I can see I am running 1.6 Please excuse my ignorance but i have been searching on how to upgrade to 1.7 and have found no instructions on where to download it or upgrade. I have downloaded the JVM 7 Update 17 but it appears this isnt the same thing thanks

Re: Now() offset by 1 hour

2013-04-02 Thread Wil Genovese
Download it here and install. http://www.oracle.com/technetwork/java/javase/downloads/index.html I keep my JVM Install for ColdFusion separate from the default Java that the OS is using. Typically I change the default location of the install to be in a top level folder named /java/ So

Re: Now() offset by 1 hour

2013-04-02 Thread Cameron Childress
That still may not be your problem. This has been fixed since 1.4.2_11 http://helpx.adobe.com/coldfusion/kb/coldfusion-mx-jrun-suns-jvm.html -Cameron On Tue, Apr 2, 2013 at 4:26 PM, Richard White rich...@re-base.net wrote: Thanks guys. After running this code I can see I am running 1.6

Re: Now() offset by 1 hour

2013-04-02 Thread Richard White
I have downloaded the latest version although when I amend the jvm.config and attempt to restart CF it does not restart correctly, very odd! Download it here and install. http://www.oracle. com/technetwork/java/javase/downloads/index.html I keep my JVM Install for ColdFusion separate from

Re: Now() offset by 1 hour

2013-04-02 Thread Wil Genovese
Which version of ColdFusion are you using? All you said was 9. 9 and 9.0.1 with NO updates will not work on JVM 7. You need to fully update/patch ColdFusion 9. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com

Re: Now() offset by 1 hour

2013-04-02 Thread Richard White
Yes, looks like i need to update. Thanks Wil Which version of ColdFusion are you using? All you said was 9. 9 and 9.0.1 with NO updates will not work on JVM 7. You need to fully update/patch ColdFusion 9. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF