I have a table with column finishtime. It can stores the time it took for a person to finish his task. it can range from 00:01:00 to 12:59:59 (company rule). The program works perfectly fine in all except when I need to find out the total time it took for a person to finish his task. Sum converts the time to AM/PM and returns time instead.
For instance, I have this two values: 12:58:36 and 12:10:10. The total time it took him is more than 25 hours and I need to return a time like 25:xx:xx.
But it returns :01:08:46
The query i am using is
Expand|Select|Wrap|Line Numbers
- SELECT format(Sum(CDate(finishtime)),'hh:nn:ss') AS ttltime FROM table1
Any tips please?