Question: how to subtract time in hours and minutes?
Answer: Subtract the hours. Subtract the minutes. If the minutes are negative, add 60 to the minutes and subtract 1 from hours.