I am developing a form where the user inputs the date, start time and end time. Based on this input I want to get back duration in each range (day and period)
input d