I am having some issues with DST when transferring a date from Flex to 
ColdFusion.

In our application, we create a date object in Flex (3/30/2006 00:00).  The PC 
has "adjust for daylight savings time" checked in clock.  When this date object 
is passed to ColdFusion, it takes that time and subtracts 1 hour (3/29/2006 
23:00), thinking that it is undergoing DST (in 2006, DST started April 2, 
2006).  This mismatch occurs for all dates ranging from the 2nd Sunday in March 
(DST after 2006) to 1st Sunday in April (DST before 2007).  It has a similar 
issue in October, the end of DST.  When the date comes back from ColdFusion and 
is displayed in our Flex app again, the date is 3/30/2006 (adjusted for DST)

If I turn off "adjust for daylight savings time", the dates that we had 
previously passed to ColdFusion show up as 3/29/2006, so obviously Flex or 
ColdFusion is doing something weird when it passes the date to and from the 
other system.

Passing the dates around in ColdFusion or just in Flex, it works fine, but 
passing the dates from Flex to ColdFusion is where the issue arises.

Our JVM in ColdFusion is 1.6, so the old CFMX7 DST issue should not be 
affecting things.

I really don't want to just add 12 hours to fix the solution (in case we need 
to use the time at some point in the future), but this has become a bit of an 
irritant for me and I'd like to figure out where the issue is coming from.

Reply via email to