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