Excellent... This worked: http://www.petefreitag.com/item/171.cfm
Adding the argument to the Java args worked!! On Wed, Sep 16, 2009 at 4:25 PM, Judah McAuley <ju...@wiredotter.com> wrote: > > That sounds about right then. Being -5 plus being in DST would result > in it being 4 hours off if it were displaying UTC. > > I don't really know the internals of the JVM and timezones. I think > that part of it will depend on which version of the JRE you are > running. Doing a bit of quick googling comes up with the following > articles which may be of some help: > > http://www-01.ibm.com/support/docview.wss?uid=swg21250503 > > http://www.petefreitag.com/item/171.cfm > > Hope this helps. > > Judah > > On Wed, Sep 16, 2009 at 10:52 AM, Randy Adkins <cfdev2...@gmail.com> > wrote: > > > > US Eastern TimeZone (-5) > > I know the locale is set right: English (US) > > > > Any idea how I can check the Java Locale? > > > > > > > > On Wed, Sep 16, 2009 at 1:15 PM, Judah McAuley <ju...@wiredotter.com> > wrote: > > > >> > >> What is your time zone? Should you be on UTC or are you in a different > >> time zone? If you are not on UTC then you ought to have an offset > >> listed there and I'm going to guess that your Java Locale is messed > >> up. CF doesn't get local time zone info (I believe) from your system > >> but rather from Java. If the Java locale is incorrect, CF will be > >> incorrect. I don't actually know how to change your Java locale > >> settings off the top of my head but hopefully that will point you in > >> the right direction. > >> > >> Judah > >> > >> On Wed, Sep 16, 2009 at 9:12 AM, Randy Adkins <cfdev2...@gmail.com> > wrote: > >> > > >> > Having an issue where are Server Time is correct but when using the > Now() > >> > option in CF, it is off by 4 hours. > >> > > >> > > >> > *Test Date/Time:* {ts '2009-09-16 16:09:38'} > >> > > >> > This is what is returned using GetTimeZoneInfo: > >> > > >> > *ColdFusion Time Zone Info:* > >> > DST On: NO > >> > UTC Hour Offset: 0 > >> > UTC Minute Offset: 0 > >> > UTC Total Offset: 0 > >> > > >> > In the Date/Time options in the Server's control panel (W2k3), the DST > is > >> > checked. Thus the proper time on the server is accurate. > >> > > >> > Any idea why CF is off? > >> > > >> > > >> > > >> > >> > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326379 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4