<?php function isDST(\DateTime $date){ return $date->getTimezone()->getTransitions($date->getTimestamp())[0]['isdst']; } var_dump(isDST(new \DateTime('2014-03-31', new \DateTimeZone('Europe/London'))));
You have javascript disabled. You will not be able to edit any code.