I am calculating time between two given dates. And I am also saving the lunch time that can be anything from 1 hour and 45 minutes or more. The lunch time I am saving the hours in one variable and the minutes in another.
Let's say that my worked time is 11 hours and 0 minutes and my lunch break is 1 hour and 45 minutes. How do I subtract this from my worked time that 11 hour so I get 9 hours and 15 minutes in this case.