I have two inputs for pick up date and return date.I want to add today's date to be default value for pick up date and in case user changes the date, the value for return date should change to one day ahead to pick up date.any help will be appreciated. i already used time(), it gives me warning metioned in comments belows.
<input type="date" name="pickupdate" class="form-control user-success" id="pickupdate" placeholder="MM/DD/YY">
<input type="date" name="returndate" class="form-control user-success" id="RETURNDATE" placeholder="MM/DD/YY">