Get all transitions for the timezone in PHP
Description
The following code shows how to get all transitions for the timezone.
Example
/* w ww . ja v a2 s. c o m*/
<?php
$timezone = new DateTimeZone("Europe/London");
$transitions = $timezone->getTransitions();
print_r(array_slice($transitions, 0, 3));
?>
The code above generates the following result.