Hi,
I have a question on how to add hours to a certain time. The problem is that i want to have the date be changed if it is the next day.
Example: Start Date: March 1st, 22.00h --> Add 6 hours --> End Date: March 2nd, 04.00h
I created a Sharepoint List with to write data to.
- Collum 1: Duration (Text)
- Collum 2: Start Date (Date and Time)
- Collum 3: End Date (Date and Time)
I have set up a form with the folowing Datafields
- Duration: A dropdown with the folowing Values: "2 hours", "3 hours", "12 hour", "15 Days")
- A start Time : 1 Datapicker with a Date and 2 dropdowns (1 for the hours, 1 for the minutes) (default when I generate the form, datasource = Sharepoint List)
- An End Time: 1 Datapicker with a Date and 2 dropdowns (1 for the hours, 1 for the minutes).(default when I generate the form, datasource = Sharepoint List).
I want the end time to depend on the Start Time and End Time.
How Do i Change the default values for the end time datapicker and dropdowns?