D'oh!  I meant the 3rd.  You "know" what I meant.  ;^)

M!ke

-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 4:54 PM
To: CF-Talk
Subject: RE: DateDiff HUH???

Day light savings is April 3rd.  You would get the opposite results in
October with any date range that spans 10/30/2005.

When using the "d" value of datediff, it is using 24 hours as a day.
Since we lose an hour on 4/3/2005, you are one hour short of 9 days, and
the extra 23 hours are truncated.  

It may be hard to believe, but this is desired behavior when doing other
kinds of date diff situations.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198297
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to