3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (class_exists("DateTimeZone")) { $tz = new DateTimeZone( 'CET' ); // Also GMT print_r( $tz->getTransitions() ); }
Output for 5.5.10 - 7.1.0
Output for 5.3.0 - 5.5.9
Array ( [0] => Array ( [ts] => -9223372036854775808 [time] => -292277022657-01-27T08:29:52+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [1] => Array ( [ts] => -1693706400 [time] => 1916-04-30T22:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [2] => Array ( [ts] => -1680483600 [time] => 1916-09-30T23:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [3] => Array ( [ts] => -1663455600 [time] => 1917-04-16T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [4] => Array ( [ts] => -1650150000 [time] => 1917-09-17T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [5] => Array ( [ts] => -1632006000 [time] => 1918-04-15T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [6] => Array ( [ts] => -1618700400 [time] => 1918-09-16T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [7] => Array ( [ts] => -938905200 [time] => 1940-04-01T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [8] => Array ( [ts] => -857257200 [time] => 1942-11-02T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [9] => Array ( [ts] => -844556400 [time] => 1943-03-29T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [10] => Array ( [ts] => -828226800 [time] => 1943-10-04T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [11] => Array ( [ts] => -812502000 [time] => 1944-04-03T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [12] => Array ( [ts] => -796777200 [time] => 1944-10-02T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [13] => Array ( [ts] => -781052400 [time] => 1945-04-02T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [14] => Array ( [ts] => -776563200 [time] => 1945-05-24T00:00:00+0000 [offset] => 10800 [isdst] => 1 [abbr] => CEMT ) [15] => Array ( [ts] => -765936000 [time] => 1945-09-24T00:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [16] => Array ( [ts] => -761180400 [time] => 1945-11-18T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [17] => Array ( [ts] => -757386000 [time] => 1945-12-31T23:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [18] => Array ( [ts] => -748479600 [time] => 1946-04-14T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [19] => Array ( [ts] => -733273200 [time] => 1946-10-07T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [20] => Array ( [ts] => -717631200 [time] => 1947-04-06T02:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [21] => Array ( [ts] => -714610800 [time] => 1947-05-11T01:00:00+0000 [offset] => 10800 [isdst] => 1 [abbr] => CEMT ) [22] => Array ( [ts] => -710380800 [time] => 1947-06-29T00:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [23] => Array ( [ts] => -701910000 [time] => 1947-10-05T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [24] => Array ( [ts] => -684975600 [time] => 1948-04-18T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [25] => Array ( [ts] => -670460400 [time] => 1948-10-03T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [26] => Array ( [ts] => -654130800 [time] => 1949-04-10T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [27] => Array ( [ts] => -639010800 [time] => 1949-10-02T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [28] => Array ( [ts] => 315529200 [time] => 1979-12-31T23:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [29] => Array ( [ts] => 323830800 [time] => 1980-04-06T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [30] => Array ( [ts] => 338950800 [time] => 1980-09-28T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [31] => Array ( [ts] => 354675600 [time] => 1981-03-29T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [32] => Array ( [ts] => 370400400 [time] => 1981-09-27T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [33] => Array ( [ts] => 386125200 [time] => 1982-03-28T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [34] => Array ( [ts] => 401850000 [time] => 1982-09-26T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [35] => Array ( [ts] => 417574800 [time] => 1983-03-27T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [36] => Array ( [ts] => 433299600 [time] => 1983-09-25T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [37] => Array ( [ts] => 449024400 [time] => 1984-03-25T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [38] => Array ( [ts] => 465354000 [time] => 1984-09-30T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [39] => Array ( [ts] => 481078800 [time] => 1985-03-31T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [40] => Array ( [ts] => 496803600 [time] => 1985-09-29T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [41] => Array ( [ts] => 512528400 [time] => 1986-03-30T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [42] => Array ( [ts] => 528253200 [time] => 1986-09-28T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [43] => Array ( [ts] => 543978000 [time] => 1987-03-29T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [44] => Array ( [ts] => 559702800 [time] => 1987-09-27T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [45] => Array ( [ts] => 575427600 [time] => 1988-03-27T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [46] => Array ( [ts] => 591152400 [time] => 1988-09-25T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [47] => Array ( [ts] => 606877200 [time] => 1989-03-26T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [48] => Array ( [ts] => 622602000 [time] => 1989-09-24T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [49] => Array ( [ts] => 638326800 [time] => 1990-03-25T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [50] => Array ( [ts] => 654656400 [time] => 1990-09-30T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [51] => Array ( [ts] => 670381200 [time] => 1991-03-31T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [52] => Array ( [ts] => 686106000 [time] => 1991-09-29T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [53] => Array ( [ts] => 701830800 [time] => 1992-03-29T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [54] => Array ( [ts] => 717555600 [time] => 1992-09-27T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [55] => Array ( [ts] => 733280400 [time] => 1993-03-28T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [56] => Array ( [ts] => 749005200 [time] => 1993-09-26T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [57] => Array ( [ts] => 764730000 [time] => 1994-03-27T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [58] => Array ( [ts] => 780454800 [time] => 1994-09-25T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [59] => Array ( [ts] => 796179600 [time] => 1995-03-26T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [60] => Array ( [ts] => 811904400 [time] => 1995-09-24T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [61] => Array ( [ts] => 828234000 [time] => 1996-03-31T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [62] => Array ( [ts] => 846378000 [time] => 1996-10-27T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [63] => Array ( [ts] => 859683600 [time] => 1997-03-30T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [64] => Array ( [ts] => 877827600 [time] => 1997-10-26T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [65] => Array ( [ts] => 891133200 [time] => 1998-03-29T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [66] => Array ( [ts] => 909277200 [time] => 1998-10-25T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [67] => Array ( [ts] => 922582800 [time] => 1999-03-28T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [68] => Array ( [ts] => 941331600 [time] => 1999-10-31T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [69] => Array ( [ts] => 954032400 [time] => 2000-03-26T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [70] => Array ( [ts] => 972781200 [time] => 2000-10-29T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [71] => Array ( [ts] => 985482000 [time] => 2001-03-25T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [72] => Array ( [ts] => 1004230800 [time] => 2001-10-28T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [73] => Array ( [ts] => 1017536400 [time] => 2002-03-31T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [74] => Array ( [ts] => 1035680400 [time] => 2002-10-27T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [75] => Array ( [ts] => 1048986000 [time] => 2003-03-30T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [76] => Array ( [ts] => 1067130000 [time] => 2003-10-26T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [77] => Array ( [ts] => 1080435600 [time] => 2004-03-28T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [78] => Array ( [ts] => 1099184400 [time] => 2004-10-31T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [79] => Array ( [ts] => 1111885200 [time] => 2005-03-27T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [80] => Array ( [ts] => 1130634000 [time] => 2005-10-30T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [81] => Array ( [ts] => 1143334800 [time] => 2006-03-26T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [82] => Array ( [ts] => 1162083600 [time] => 2006-10-29T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [83] => Array ( [ts] => 1174784400 [time] => 2007-03-25T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [84] => Array ( [ts] => 1193533200 [time] => 2007-10-28T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [85] => Array ( [ts] => 1206838800 [time] => 2008-03-30T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [86] => Array ( [ts] => 1224982800 [time] => 2008-10-26T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [87] => Array ( [ts] => 1238288400 [time] => 2009-03-29T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [88] => Array ( [ts] => 1256432400 [time] => 2009-10-25T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [89] => Array ( [ts] => 1269738000 [time] => 2010-03-28T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [90] => Array ( [ts] => 1288486800 [time] => 2010-10-31T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [91] => Array ( [ts] => 1301187600 [time] => 2011-03-27T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [92] => Array ( [ts] => 1319936400 [time] => 2011-10-30T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [93] => Array ( [ts] => 1332637200 [time] => 2012-03-25T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [94] => Array ( [ts] => 1351386000 [time] => 2012-10-28T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [95] => Array ( [ts] => 1364691600 [time] => 2013-03-31T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [96] => Array ( [ts] => 1382835600 [time] => 2013-10-27T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [97] => Array ( [ts] => 1396141200 [time] => 2014-03-30T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [98] => Array ( [ts] => 1414285200 [time] => 2014-10-26T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [99] => Array ( [ts] => 1427590800 [time] => 2015-03-29T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [100] => Array ( [ts] => 1445734800 [time] => 2015-10-25T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [101] => Array ( [ts] => 1459040400 [time] => 2016-03-27T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [102] => Array ( [ts] => 1477789200 [time] => 2016-10-30T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [103] => Array ( [ts] => 1490490000 [time] => 2017-03-26T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [104] => Array ( [ts] => 1509238800 [time] => 2017-10-29T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [105] => Array ( [ts] => 1521939600 [time] => 2018-03-25T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [106] => Array ( [ts] => 1540688400 [time] => 2018-10-28T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [107] => Array ( [ts] => 1553994000 [time] => 2019-03-31T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [108] => Array ( [ts] => 1572138000 [time] => 2019-10-27T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [109] => Array ( [ts] => 1585443600 [time] => 2020-03-29T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [110] => Array ( [ts] => 1603587600 [time] => 2020-10-25T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [111] => Array ( [ts] => 1616893200 [time] => 2021-03-28T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [112] => Array ( [ts] => 1635642000 [time] => 2021-10-31T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [113] => Array ( [ts] => 1648342800 [time] => 2022-03-27T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [114] => Array ( [ts] => 1667091600 [time] => 2022-10-30T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [115] => Array ( [ts] => 1679792400 [time] => 2023-03-26T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [116] => Array ( [ts] => 1698541200 [time] => 2023-10-29T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [117] => Array ( [ts] => 1711846800 [time] => 2024-03-31T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [118] => Array ( [ts] => 1729990800 [time] => 2024-10-27T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [119] => Array ( [ts] => 1743296400 [time] => 2025-03-30T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [120] => Array ( [ts] => 1761440400 [time] => 2025-10-26T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [121] => Array ( [ts] => 1774746000 [time] => 2026-03-29T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [122] => Array ( [ts] => 1792890000 [time] => 2026-10-25T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [123] => Array ( [ts] => 1806195600 [time] => 2027-03-28T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [124] => Array ( [ts] => 1824944400 [time] => 2027-10-31T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [125] => Array ( [ts] => 1837645200 [time] => 2028-03-26T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [126] => Array ( [ts] => 1856394000 [time] => 2028-10-29T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [127] => Array ( [ts] => 1869094800 [time] => 2029-03-25T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [128] => Array ( [ts] => 1887843600 [time] => 2029-10-28T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [129] => Array ( [ts] => 1901149200 [time] => 2030-03-31T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [130] => Array ( [ts] => 1919293200 [time] => 2030-10-27T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [131] => Array ( [ts] => 1932598800 [time] => 2031-03-30T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [132] => Array ( [ts] => 1950742800 [time] => 2031-10-26T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [133] => Array ( [ts] => 1964048400 [time] => 2032-03-28T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [134] => Array ( [ts] => 1982797200 [time] => 2032-10-31T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [135] => Array ( [ts] => 1995498000 [time] => 2033-03-27T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [136] => Array ( [ts] => 2014246800 [time] => 2033-10-30T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [137] => Array ( [ts] => 2026947600 [time] => 2034-03-26T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [138] => Array ( [ts] => 2045696400 [time] => 2034-10-29T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [139] => Array ( [ts] => 2058397200 [time] => 2035-03-25T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [140] => Array ( [ts] => 2077146000 [time] => 2035-10-28T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [141] => Array ( [ts] => 2090451600 [time] => 2036-03-30T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [142] => Array ( [ts] => 2108595600 [time] => 2036-10-26T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) [143] => Array ( [ts] => 2121901200 [time] => 2037-03-29T01:00:00+0000 [offset] => 7200 [isdst] => 1 [abbr] => CEST ) [144] => Array ( [ts] => 2140045200 [time] => 2037-10-25T01:00:00+0000 [offset] => 3600 [isdst] => [abbr] => CET ) )