Using strtotime () , you can convert the current time (2009-09-25 15:00:00) to a timestamp, and then add (60 * 60 * 3 = 3 hours) to the timestamp. Finally, just convert it back anytime.
$date = '2009-09-25 15:00:00';
$plus = 60 * 60 * 3;
$time = strtotime($date) + $plus;
print date("F j, Y, g:i a", $time);
source
share