With the "Duration" function, you can set both start time and end time to a task.
1. In a task detail view, tap the "Date & Repeat" section at the top.
2. Tap "Duration" and make your selections. Or, tap the "Time" section to switch between normal/advanced mode.
Normal mode: set time duration within one day
Advanced mode: custom both start time and end time (no limitation)