How to calculate total hours and minute using two hours and minute value

Hello Friends,

in this post i m explaining you that how to calculate total hours and minute from two different hours and minute value. let me explain in detail, in so many company time sheet is available and for that software like punching system and anyother method is counting total working hours and minute so same things i m explain you with example using php.