3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<pre> <?php $UTC_offset = '+03:30'; $utc = new \DateTimeZone('UTC'); $date = new \DateTime('now', $utc); var_dump($date); $timezone = new \DateTimeZone(str_replace(':', '', $UTC_offset)); $date->setTimezone($timezone); var_dump($date); ?> </pre>
Output for 7.2.0
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:48.004069" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 09:55:48.004069" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.1.10
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:48.004322" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 09:55:48.004322" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.1.7
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:48.002588" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 09:55:48.002588" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.1.6
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:48.012520" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 09:55:48.012520" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.1.5
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:48.006774" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 09:55:48.006774" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.1.0
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:48.004043" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 09:55:48.004043" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.28, 7.0.20
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 09:55:48.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.0.6
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-21 11:50:32.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-21 15:20:32.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.0.5
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-03 07:47:49.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-03 11:17:49.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.0.4
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-10 20:55:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-11 00:25:13.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.0.3
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-18 22:22:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-19 01:52:54.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.0.2
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-23 04:36:49.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-23 08:06:49.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.0.1
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-24 07:39:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-24 11:09:58.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 7.0.0
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-27 08:32:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-27 12:02:56.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.21
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-02 14:42:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-02 18:12:09.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.20
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-10 06:50:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-10 10:20:09.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.19
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-08 05:04:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-08 08:34:58.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.18
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-15 14:03:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-15 17:33:13.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.17
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-20 01:35:33.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-20 05:05:33.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.16
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-28 09:22:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-28 12:52:46.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.15
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-29 10:12:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-29 13:42:21.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.14
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-14 15:54:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-14 19:24:48.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.13
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-15 16:33:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-15 20:03:51.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.12
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-20 07:03:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-20 10:33:50.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.11
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-24 13:29:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-24 16:59:58.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.10
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-25 15:35:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-25 19:05:31.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.9
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-27 21:03:30.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-28 00:33:30.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.6.8
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-30 05:30:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-30 09:00:28.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.35
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-23 00:45:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-23 04:15:55.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.34
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-11 09:05:05.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-11 12:35:05.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.33
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-09 08:04:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-09 11:34:04.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.32
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-17 18:01:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-17 21:31:00.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.31
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-21 04:47:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-21 08:17:31.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.30
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-01 12:03:41.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-01 15:33:41.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.29
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-17 06:51:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-17 10:21:29.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.28
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-21 10:23:31.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-21 13:53:31.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.27
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-22 12:01:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-22 15:31:03.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.26
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-26 18:17:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-26 21:47:03.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.25
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-29 01:43:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-29 05:13:25.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.5.24
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-24 08:14:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-24 11:44:48.000000" ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+03:30" } </pre>
Output for 5.4.44 - 5.4.45
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.4.41 - 5.4.43
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.4.39 - 5.4.40
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.4.37 - 5.4.38
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.4.34 - 5.4.36
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.4.31 - 5.4.32
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.4.30
<pre> object(DateTime)#2 (3) { ["date"]=> string(26) "2016-01-15 06:25:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.4.27 - 5.4.29
<pre> object(DateTime)#2 (3) { ["date"]=> string(19) "2016-01-15 06:25:57" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.4.24 - 5.4.26
<pre> object(DateTime)#2 (3) { ["date"]=> string(19) "2016-01-15 06:25:58" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.3.28, 5.4.21 - 5.4.23
<pre> object(DateTime)#2 (3) { ["date"]=> string(19) "2016-01-15 06:25:59" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.3.27, 5.4.18 - 5.4.20
<pre> object(DateTime)#2 (3) { ["date"]=> string(19) "2016-01-15 06:26:00" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.3.25 - 5.3.26, 5.4.15 - 5.4.17
<pre> object(DateTime)#2 (3) { ["date"]=> string(19) "2016-01-15 06:26:01" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.3.22 - 5.3.24, 5.4.12 - 5.4.14
<pre> object(DateTime)#2 (3) { ["date"]=> string(19) "2016-01-15 06:26:02" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.3.21, 5.4.11
<pre> object(DateTime)#2 (3) { ["date"]=> string(19) "2016-01-15 06:26:03" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.
Output for 5.3.29
<pre> object(DateTime)#2 (3) { ["date"]=> string(19) "2016-01-15 06:25:56" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0330)' in /in/EvKbJ:8 Stack trace: #0 /in/EvKbJ(8): DateTimeZone->__construct('+0330') #1 {main} thrown in /in/EvKbJ on line 8
Process exited with code 255.