--TEST-- Bug #74173 (DateTimeImmutable::getTimestamp() triggers DST switch in incorrect time) --FILE-- setTimeZone(new \DateTimeZone('Europe/Prague')); echo $prg->format('c') . "\n"; $prg->getTimestamp(); echo $prg->format('c') . "\n"; ?> --EXPECT-- 2016-10-30T02:00:00+02:00 2016-10-30T02:00:00+02:00