Hussain Ahmed

Hussain Ahmed

  • 889
  • 1.2k
  • 963.9k

How to add Total hour in c#

Aug 30 2014 3:07 AM
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)