ok...this may be hard to explain but ill try.

1. user inputs a date/time in a form field

2. I take that date/time and figure out the number
of seconds since jan 1 1970 at midnight to get the
epoch time.  

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. 

4. if I take the same date/time and perform a local to utc time
conversion, I get the correct utc time, regardless of timezone, or DST
adjustment. 

5. if I take that utc converted date/time and dateDiff it to jan 1 1970
getting seconds back, I get the number of seconds plus 3600 seconds (1
hour more than im supps to get) 

someone please explain/help do something here, get me a
shot...something!!!!!!!!! I have built a test web page to show the
problem....

http://www.navtrak.net/cfmxBug.cfm

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to