How do I set the #endDatePicker 1 month to the future of the selected date from #startDatePicker?
I am not figuring this one out but I am sure it is easier than I am making it.
Here is what I am starting out with. Now I need a function that calculates exactly 1 month(not just 30 days) into the future based on the selected date from the #startDatePicker.
$("#startDatePicker").datepicker({
minDate: +0,
});
$("#endDatePicker").datepicker({
minDate: +1m ,
beforeShow: customMinDate
});
Any help appreciated.