2021-05-18, 08:46 AM
(2021-05-18, 01:45 AM)Markski Wrote: Hours in a day are counted from 0, there's no hour 24... that's 00. That function should never be receiving 24 as an hour in a normal scenario
Yes you are right. But if for example start_hour is 3am and stop_hour is 0am, it returns:
02 Hours 00 Minutes 00 Seconds?
It should return?
21 Hours 00 Minutes 00 Seconds