Data from database is correct and date format modification also work correctly, while printing it in datepicker input field ,it gives me invalid date error
for future date but works fine for present and past date
Here is datepicker textbox
<input type="text" name="meeting_date" value="<?php print_r(date('d-m-Y',strtotime($edit[0]['meeting_date']))); ?>" class="form-control has-feedback-left" id="single_cal4" aria-describedby="inputSuccess2Status3">
Thanks in advance.