|
Question : time formats - coming up with totals
|
|
Hi, I have a table with time formats like this:
TL_TimeIn TL_TimeOut 4:50:38 PM 5:55:02 PM 2:51:37 PM 5:58:53 PM 2:55:20 PM 6:00:42 PM 2:18:32 PM 2:59:19 PM
and I need to come up with a total number of hours - what's the best way to do this? thanks!
|
|
Answer : time formats - coming up with totals
|
|
SELECT clng(Sum(TL_TimeIn - TL_TimeOut)* 24) as MyTotalHours FROM myTable;
Do you want the minutes too???
Dave
|
|
|