You can make a button to set value for startTime and endTime .