so. whats next. is this something that mm fixes, leaves for a patch leaves for a major upgrade? does this get fixed in RedSky? whats next?
thanks! tony -----Original Message----- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 7:00 PM To: CF-Talk Subject: Re: can someone validate this bug? (repost) On Thursday, Jul 3, 2003, at 06:10 US/Pacific, Tony Weeg wrote: > 3. this is all well and fine, unless the date falls inside daylight > savings time (any time after the 1st Sunday in April) whereby CFMX adds > 1 hour to I guess self correct for DST. Yes, I have confirmed that when you do a dateAdd() of seconds since the epoch (1/1/70) that puts you in DST, the dateAdd() adds an unexpected additional hour, in other words: <cfset theEpoch = "01-01-1970 00:00:00"/> <cfset secsSinceEpoch = dateDiff('s', theEpoch, someDateAndTime) /> <cfset reconstitutedDate = dateAdd('s', secsSinceEpoch, theEpoch) /> reconstitutedDate will be one hour off from someDateAndTime if the date is in DST. Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

