$date = "2016-10-04";
$date1 = str_replace('-', '/', $date);
$tomorrow = date('y-m-d',strtotime($date1 . "+1 days"));
echo $tomorrow;
Using above php code add one day to the given value. Finally it returns 16-10-05. But I need it with full year as 2016-10-05. How I get that?