Here is your answer: This JVM version is SO old that it has the OLD DST change 
over date.  The DST change over dates changed in 2008.

See this tech note from (Sun) Oracle. 

http://www.oracle.com/technetwork/java/javase/releasenotes-138306.html#142_19

Regards,
Wil


Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On Mar 12, 2013, at 5:36 PM, Carl Von Stetten <vonner.li...@vonner.net> wrote:

> 
> Daniel,
> 
> What version of ColdFusion are you running?  Maybe you can upgrade the 
> JVM to a newer version that has updated DST settings?  I think the 
> start/end dates for DST in the US were changed in 2007, while Java 1.4 
> hasn't been current since around 2004.
> 
> -Carl V.
> 
> On 3/12/2013 6:31 AM, daniel kessler wrote:
>> I get:
>> JRE:=Java(TM) 2 Runtime Environment, Standard Edition 1.4.2_09-b05
>> tz:=Eastern Daylight Time
>> dst savings:=1
>> uses DST: YES
>> in DST now: NO
>> 
>> I saw that there is an update to 1.4.2_11, but that came out around 2007 I 
>> think.  So I would need a more recent update.  A coworker said that she 
>> updated her jvm and still sees the error.  However, I'm waiting for her to 
>> come in to work and run this script that you gave me.  Maybe it gives some 
>> different info.
>> 
>> When it says "in dst now", that means that JVM thinks it's not in DST or 
>> that the computer does not think it's in DST?
>> 
>> 
>>> <script>
>>> jre=createObject("java","java.lang.System");
>>> JREname=jre.getProperty("java.runtime.name");
>>> JREversion=jre.getProperty("java.runtime.version");
>>> 
>>> tz=createObject("java","java.util.TimeZone").getDefault();
>>> tzName=tz.getDisplayName(true,tz.LONG);
>>> dstSavings=tz.getDSTSavings()/3600000;
>>> 
>>> writeoutput("JRE:=#JREname# #JREversion#<br>
>>>     tz:=#tzName#<br>dst savings:=#dstSavings#<br>
>>>     uses DST: #tz.useDaylightTime()#<br>
>>>     in DST now: #tz.inDaylightTime(now())#");
>>> </cfscript>
>> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:354953
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to