Correct value is not 90 minutes
From night 11:00 pm to next day 12:30 pm is 13 hours and 30 minutes but not 90 minutes
The formula's answer is correct.
90 minutes after 11 pm is 00:30 on the next day
If you try with tEnd as "00:30:00" then you get 90 minutes.
Please note that "12:30:00" is afternoon not early hours. Early hours are "00:30:00"
↧