PHP добавить часы к текущей дате
$new_time = date("Y-m-d H:i:s", strtotime('+5 hours'));
Yucky Yak
$new_time = date("Y-m-d H:i:s", strtotime('+5 hours'));
$minutes_to_add = 5;
$time = new DateTime('2011-11-17 05:05');
$time->add(new DateInterval('PT' . $minutes_to_add . 'M'));
$stamp = $time->format('Y-m-d H:i');