php code for getting the next day code example Example: php code for getting the next day $tomorrow = date("Y-m-d", strtotime("+1 day"));