I'm trying to add four hours to a date but the resultant time is incorrect
$date = $dates[0] < $dates[1] ? $dates[1] : $dates[0];
$new_date = date("Y-m-d H:i:s", strtotime('+4 hours', $date));
echo $date;
echo "<br/>". $new_date;
The result i'm getting is
2015-09-17 09:36:18
1969-12-31 20:33:35
The first date is correct but the second isn't, it should be 4 hours ahead of the first