hi there.

I cannot speak for cf5 or below, but, when I do a dateDiff, from now()
to 1/1/1970, im not getting the correct amount of seconds.  im getting
the correct amount of seconds plus one hour.  its almost as if cfmx isnt
taking into account server time, and adjusting for DST?

is this a bug?  or should I just code around it, because its
know/expected?

For all the question hawks:     

1. time on server and my laptop match exactly
2. both have auto adjust for dst

any ideas?

<cfoutput>#DateDiff('s','01/01/1970 00:00:00.000',Now())#</cfoutput>

try it for yourself, you'll end up with a number like 1056986141 which
was when I was typing
this, now, turn that into a date time combo.... I get this... 06/30/2003
16:15:41 which is by my
counting 1 hour faster than it actually is now!!!!!! WTH?

thanks.

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

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
                                

Reply via email to