3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(new \DateTime(null, new \DateTimeZone('America/Chicago'))); var_dump(new \DateTime(null, new \DateTimeZone('America/New_York')));
based on fJB8t
Output for 7.3.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000201" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000360" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.13
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000114" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000214" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.12
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000174" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000318" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.11
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.028333" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.028468" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.083445" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.083626" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.9
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.058290" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.058483" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.8
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.059181" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.059427" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000158" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000271" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000150" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000259" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000123" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000212" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.4
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000163" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000277" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.3
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000156" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000243" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.2
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.067208" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.067348" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.1
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.034700" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.034900" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.2.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000147" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000228" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.25
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000113" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000192" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.24
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.026610" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.026751" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.23
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000159" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000279" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.22
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000160" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000285" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.21
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000222" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000350" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000127" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000220" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.19
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.111989" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.112170" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.18
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000096" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000169" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.17
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000105" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000184" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.16
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000238" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000426" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.15
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.016648" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.016810" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.14
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.012076" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.012202" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.13
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.010223" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.028795" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.12
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.015561" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.015674" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.11
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.007662" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.007778" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.007067" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.007202" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.9
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000116" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000195" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.8
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000137" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000234" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.017750" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.017932" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000115" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000193" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.014217" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.014426" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.4
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000151" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000271" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.14 - 7.0.33, 7.1.3
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.2
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:00.065781" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:00.065965" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.1
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.000144" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.000245" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 7.1.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:02:59.010572" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:02:59.010701" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.5.0 - 5.5.13
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:02:59" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:02:59" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.45
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.44
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.41 - 5.4.43
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.40
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.38 - 5.4.39
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.36 - 5.4.37
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.35
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:08.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.34
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.31 - 5.4.32
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.30
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 13:03:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-01-12 14:03:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.29
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:11" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:11" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.27 - 5.4.28
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:12" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:12" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.25 - 5.4.26
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:13" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:13" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.28, 5.4.23 - 5.4.24
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:14" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:14" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.20 - 5.4.22
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:15" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:15" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.4.18 - 5.4.19
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:16" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:16" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.27, 5.4.17
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:17" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:17" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.24 - 5.3.26, 5.4.15 - 5.4.16
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:18" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:18" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.22 - 5.3.23, 5.4.12 - 5.4.14
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:19" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:19" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.21, 5.4.11
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:20" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:20" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }
Output for 5.3.29
object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 13:03:10" ["timezone_type"]=> int(3) ["timezone"]=> string(15) "America/Chicago" } object(DateTime)#1 (3) { ["date"]=> string(19) "2016-01-12 14:03:10" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }