SELECT SUM((MID(Total,1,2) * 60) + MID(Total,4,2)) AS Extra_OT FROM extra_overtime WHERE Emp_ID='001EJ011' AND DATE(AttDate)='2013-10-03' GROUP BY Emp_ID, AttDate;
SELECT ADDTIME('01:00:00','01:30:00') AS Extra_OT
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)