I want to calculate the sum of following time fields with a sql query: 02:35 11:15 00:15 Result should be 14:05 How to do this with sql query?
SELECT DATEADD(ms, SUM(DATEDIFF(ms, '00:00:00.000', YourFieldName)), '00:00:00.000') as time FROM YourTableName
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)