2
Answers

How to add Total hour in c#

Hussain Ahmed

Hussain Ahmed

10y
1.1k
1
Hi All !
I want to get SUM of Hours and Minutes in SQL Server 2005 in To SELECT Query Like : SELECT SUM(OTHours) FROM EmpInOutRecords.

Example: I Have OverTime Hours Like: 01:25, 02:30, 05:56, 00:50

Now I Want To SUM of This Total Hours and Minutes Like Answer is : 10:41

Please Help Me..........

Tanks in Advanced

Answers (2)