This example has a datepicker for the 'Start Date', an input for the 'Duration' (in weeks) and a second datepicker that is disabled for user input as it is updated on change of either the first datepicker or the duration inputs.
How to update second datepicker from first datepicker and value of dropdown field Related Examples