add hours to exsiting date php code example Example: php add hours to current date $new_time = date("Y-m-d H:i:s", strtotime('+5 hours'));