J
John Smith
Hi,
I'm having trouble working out the best way of calculating the time
difference between two times on the same day.
The example I have found does return the hours (in this case 8) but forgets
the minutes.
I am looking to return the hour & the minute but i've had a look at the
dateDiff format and this doesn't seem possible ?
Thanks
J.
---------------------------------
time1 = "09:15"
time2 = "17:30"
hours = datediff("h",time1,time2) ' in hours
response.write(hours)
----------------------------------
I'm having trouble working out the best way of calculating the time
difference between two times on the same day.
The example I have found does return the hours (in this case 8) but forgets
the minutes.
I am looking to return the hour & the minute but i've had a look at the
dateDiff format and this doesn't seem possible ?
Thanks
J.
---------------------------------
time1 = "09:15"
time2 = "17:30"
hours = datediff("h",time1,time2) ' in hours
response.write(hours)
----------------------------------