執行 ❯
獲取您
自己的 PHP
伺服器
×
更改方向
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <body> <?php $timezone = new DateTimeZone("Europe/Paris"); // Procedural style print_r(reset(timezone_transitions_get($timezone))); echo "<br><br>"; // Object oriented style print_r(reset($timezone->getTransitions())); ?> </body> </html>
陣列 ( [ts] => -9223372036854775808 [time] => -292277022657-01-27T08:29:52+0000 [offset] => 561 [isdst] => [abbr] => LMT )
陣列 ( [ts] => -9223372036854775808 [time] => -292277022657-01-27T08:29:52+0000 [offset] => 561 [isdst] => [abbr] => LMT )