I wrote the following code to determine the amount of time that employees spend on a task:
$time1 = $row_TicketRS[\'OpenTime\']; $time2= $row_TicketRS[\'Clos
for example the start time is 09:19:00 and end time is 11:01:00 but it give me duration time only 1 hour which is wrong
You are calculating the difference in hours. what is the correct result for "start time is 09:19:00 and end time is 11:01:00"