Question
Divide date (newbie question)
i have 2 datetime
<cfset date1 = "01/01/2011 1:30:00">
<cfset date2 = "01/01/2011 6:00:00">
how can I get the number of 30 min. in that date range.
there are 9 (30min) in that date range.
below is what im trying to do.
<cfset value1 = date2 - date1>
<cfset value2 = value1 / 30 min.>
thanks you in advance.
