In your example, the times completely cover the total duration. If this is always true, you can use the following logic:
確定! 回上一頁