strtotime add 1 day code example Example: strtotime add 1 hour $my_date_time = date("Y-m-d H:i:s", strtotime("+1 hours"))