Detect whether the end time is in the next day