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