I recently upgraded our Coldfusion MX6.1 to JVM 1.4.2_11 in order to support the 2007 day light savings rules. If I run the following calculation I would expect to get 24 hours, but instead get 23 hours. Is this correct?
<cfset datetime1 = #CreateDateTime(2007,3,10,15,0,0)#>
<cfset datetime2 = #CreateDateTime(2007,3,11,15,0,0)#>
<cfset Diff = #datediff('H',datetime1,datetime2)#>
#Diff# <!--- returns 23 hours, not 24 --->
<cfset datetime1 = #CreateDateTime(2007,3,10,15,0,0)#>
<cfset datetime2 = #CreateDateTime(2007,3,11,15,0,0)#>
<cfset Diff = #datediff('H',datetime1,datetime2)#>
#Diff# <!--- returns 23 hours, not 24 --->