I have a PHP date in the form of 2013-01-22 and I want to get tomorrows date in the same format, so for example 2013-01-23.
2013-01-22
2013-01-23
How is this pos
here's working function
function plus_one_day($date){ $date2 = formatDate4db($date); $date1 = str_replace('-', '/', $date2); $tomorrow = date('Y-m-d',strtotime($date1 . "+1 days")); return $tomorrow; }