3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date1 = new DateTime(); $date2 = new DateTime('2 hours ago'); var_dump($date1); var_dump($date2); $diff = $date1->diff($date2); var_dump($diff->h);
based on RktvF
Output for 7.2.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:46.003873" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:46.003893" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.1.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:46.004102" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:46.004119" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.1.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:46.004670" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:46.004688" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.1.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:46.011948" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:46.011972" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.1.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:46.011495" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:46.011517" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.1.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:46.003987" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:46.003998" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.28, 7.0.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.0.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-21 13:06:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-21 11:06:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.0.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-03 09:10:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-03 07:10:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.0.4
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 21:15:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-10 19:15:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.0.3
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 22:37:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-18 20:37:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.0.2
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 04:51:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-23 02:51:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.0.1
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-24 08:00:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-24 06:00:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 7.0.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 09:53:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-27 07:53:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.21
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-02 16:02:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-02 14:02:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-10 08:11:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-10 06:11:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.19
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 05:23:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-08 03:23:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.18
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 14:19:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-15 12:19:10.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.17
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 01:51:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-19 23:51:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.16
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 10:43:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-28 08:43:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.15
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 11:32:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-29 09:32:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.14
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-14 17:14:27.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-14 15:14:27.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.13
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-15 17:53:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-15 15:53:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.12
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-20 08:22:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-20 06:22:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.11
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 14:48:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-24 12:48:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 16:53:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-25 14:53:37.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.9
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 22:10:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-27 20:10:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.6.8
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-30 06:50:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-30 04:50:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.35
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-23 01:37:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-22 23:37:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.34
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-11 10:25:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-11 08:25:22.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.33
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-09 08:22:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-09 06:22:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.32
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-17 18:15:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-17 16:15:06.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.31
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-21 04:59:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-21 02:59:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.30
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-01 13:24:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-01 11:24:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.29
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-17 08:11:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-17 06:11:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.28
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 11:40:27.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-21 09:40:27.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.27
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 13:19:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-22 11:19:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.26
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 19:34:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-26 17:34:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.25
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 02:58:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-29 00:58:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.5.24
object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-24 09:23:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-24 07:23:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.4.45
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:49.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:49.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.4.44
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.4.43
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.4.41 - 5.4.42
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.4.39 - 5.4.40
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.4.36 - 5.4.38
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.4.34 - 5.4.35
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.4.31 - 5.4.32
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.4.30
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-28 08:37:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-28 06:37:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.4.27 - 5.4.29
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-28 08:37:57" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-28 06:37:57" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.4.23 - 5.4.26
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-28 08:37:58" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-28 06:37:58" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.3.28, 5.4.20 - 5.4.22
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-28 08:37:59" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-28 06:37:59" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.3.27, 5.4.18 - 5.4.19
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-28 08:38:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-28 06:38:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.3.25 - 5.3.26, 5.4.14 - 5.4.17
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-28 08:38:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-28 06:38:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.3.21 - 5.3.24, 5.4.11 - 5.4.13
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-28 08:38:02" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-28 06:38:02" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)
Output for 5.3.29
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-28 08:37:56" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-28 06:37:56" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } int(2)