Re: Now() offset by 1 hour
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 same as GMT but not always. But if i'm right, maybe you need to set your locale timezone to something other than GMT, thereby automatically adjusting for daylight savings. I dont have the problem, because my timezone is Sydney/Australia - and while my servers are in California and Texas, i have no problem keeping all my ColdFusion time clocks at Sydney time automatically. The server clocks are set to UTC however and I set the timezone to Sydney/Australia. Done. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month On Wed, Apr 3, 2013 at 8:32 AM, Richard White rich...@re-base.net wrote: 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 Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 4:22 PM, Richard White rich...@re-base.net wrote: 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 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 c:\Java or D: java on Windows. On Linux I use the /opt folder because ColdFusion is installed in /opt so it would be /opt/java/ Then you need to edit your jvm.config file and point the java. home= to the new path of your newly installed JVM. Be sure to backup your jvm.config. So the JVM config line might look something like this. You'll have to make sure you get the path correct for your OS. java.home=C:/java/jvm_16xxx/jre Regards, Wil Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 3:26 PM, Richard White rich...@re-base.net wrote: 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 for any guidance 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)# ~| 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:355242 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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 savings. I thought GMT was the same all year round, and it was the timezone at London that changed daylight savings. ~| 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:355243 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Now() offset by 1 hour
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 ~| 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:355226 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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, 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 ~| 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:355227 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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 wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 12:48 PM, Richard White rich...@re-base.net wrote: ~| 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:355228 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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 with this JVM arg in jvm.config -Duser.timezone=America/New_York If it's reporting the correct timezone, then I think we need to start looking for bugs with JVM 1.7. Unsure about that though. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 1:03 PM, Richard White rich...@re-base.net wrote: 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 wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 12:48 PM, Richard White rich...@re-base.net wrote: ~| 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:355229 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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 seen anything. 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 with this JVM arg in jvm.config -Duser.timezone=America/New_York If it's reporting the correct timezone, then I think we need to start looking for bugs with JVM 1.7. Unsure about that though. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 1:03 PM, Richard White rich...@re-base.net wrote: 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 wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 12:48 PM, Richard White rich...@re-base.net wrote: ~| 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:355230 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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 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 wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 12:48 PM, Richard White rich...@re-base.net wrote: ~| 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:355231 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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. ~| 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:355232 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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 for any guidance 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)# ~| 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:355233 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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 c:\Java or D: java on Windows. On Linux I use the /opt folder because ColdFusion is installed in /opt so it would be /opt/java/ Then you need to edit your jvm.config file and point the java.home= to the new path of your newly installed JVM. Be sure to backup your jvm.config. So the JVM config line might look something like this. You'll have to make sure you get the path correct for your OS. java.home=C:/java/jvm_16xxx/jre Regards, Wil Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 3:26 PM, Richard White rich...@re-base.net wrote: 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 for any guidance 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)# ~| 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:355234 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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 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 for any guidance 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)# ~| 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:355235 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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 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 c:\Java or D: java on Windows. On Linux I use the /opt folder because ColdFusion is installed in /opt so it would be /opt/java/ Then you need to edit your jvm.config file and point the java.home= to the new path of your newly installed JVM. Be sure to backup your jvm.config. So the JVM config line might look something like this. You'll have to make sure you get the path correct for your OS. java.home=C:/java/jvm_16xxx/jre Regards, Wil Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 3:26 PM, Richard White rich...@re-base.net wrote: 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 for any guidance 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)# ~| 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:355236 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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 www.trunkful.com On Apr 2, 2013, at 4:22 PM, Richard White rich...@re-base.net wrote: 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 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 c:\Java or D: java on Windows. On Linux I use the /opt folder because ColdFusion is installed in /opt so it would be /opt/java/ Then you need to edit your jvm.config file and point the java.home= to the new path of your newly installed JVM. Be sure to backup your jvm.config. So the JVM config line might look something like this. You'll have to make sure you get the path correct for your OS. java.home=C:/java/jvm_16xxx/jre Regards, Wil Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 3:26 PM, Richard White rich...@re-base.net wrote: 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 for any guidance 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)# ~| 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:355237 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Now() offset by 1 hour
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 Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 4:22 PM, Richard White rich...@re-base.net wrote: 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 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 c:\Java or D: java on Windows. On Linux I use the /opt folder because ColdFusion is installed in /opt so it would be /opt/java/ Then you need to edit your jvm.config file and point the java. home= to the new path of your newly installed JVM. Be sure to backup your jvm.config. So the JVM config line might look something like this. You'll have to make sure you get the path correct for your OS. java.home=C:/java/jvm_16xxx/jre Regards, Wil Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Apr 2, 2013, at 3:26 PM, Richard White rich...@re-base.net wrote: 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 for any guidance 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)# ~| 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:355238 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm