|Hi Bradml ,
Thank you for your reply , I tried to apply your code but I got some problem in it.
If my time1 = 06:08:21 and time2 = 05:56:28then I got difference = 5193
Now according to the code I got following output:
orangised_difference['hours'] = 5
orangised_difference['minutes'] = 93
final_difference = 5:93:
It's not the perfact. Its giving proper output of your given inputs after changing substr syntax.
substr($difference, 0, 1);
substr($difference, 2, 3);
substr($difference, 4, 5);
Can you please suggest me that if I give my inputs then how I can get the proper result???