Why do I get different dates depending of how I set the timezone on the two code snippets below?
// Setting timezone using setTimezone'
$date1 = DateTime::createFromFormat('Y-m-d H:i:s', '2018-04-04 12:00:00');
$date1->setTimezone(new DateTimeZone('UTC'));
$date1->add(new DateInterval('PT7776000S'));
echo $date1->format('c') . PHP_EOL;
prints 2018-07-03T10:00:00+00:00
// Setting timezone as a param to createFromFormat
$date2 = DateTime::createFromFormat('Y-m-d H:i:s', '2018-04-04 12:00:00', new DateTimeZone('UTC'));
$date2->add(new DateInterval('PT7776000S'));
echo $date2->format('c') . PHP_EOL;
prints 2018-07-03T12:00:00+00:00