(PHP 5 >= 5.2.0)
timezone_transitions_get — Alias von DateTimeZone::getTransitions()
Diese Funktion ist ein Alias für: DateTimeZone::getTransitions()
From Derick's talk (http://talks.php.net/show/time-ffm2006/28)
<?php
$tz = new DateTimeZone("PST");
foreach (timezone_transitions_get($tz) as $tr)
if ($tr['ts'] > time())
break;
$d = new DateTime( "@{$tr['ts']}" );
printf("The timezone %s switches to %s on %s.<br/>The new GMT offset will be: %d (%s)\n",
$tz->getName(), $tr['isdst'] ? "DST" : "standard time",
$d->format('d M Y @ H:i'), $tr['offset'], $tr['abbr']
);
?>