3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = DateTime::createFromFormat('*, d M Y H:i:s O', 'Mon, 27 Oct 2015 10:01:13 +0000'); echo $a->format('Y-m-d H:i:s'); echo PHP_EOL; $b = new DateTime(); echo $b->format('D, d M Y H:i:s O');
based on gvdue
Output for 5.6.28, 7.0.20 - 7.2.0
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:11 +0100
Output for 7.0.6
2015-10-27 10:01:13 Sat, 21 May 2016 12:36:53 +0200
Output for 7.0.5
2015-10-27 10:01:13 Sun, 03 Apr 2016 08:45:44 +0200
Output for 7.0.4
2015-10-27 10:01:13 Thu, 10 Mar 2016 20:48:05 +0100
Output for 7.0.3
2015-10-27 10:01:13 Fri, 18 Mar 2016 22:08:36 +0100
Output for 7.0.2
2015-10-27 10:01:13 Wed, 23 Mar 2016 04:22:43 +0100
Output for 7.0.1
2015-10-27 10:01:13 Thu, 24 Mar 2016 07:34:32 +0100
Output for 7.0.0
2015-10-27 10:01:13 Sun, 27 Mar 2016 09:28:26 +0200
Output for 5.6.21
2015-10-27 10:01:13 Mon, 02 May 2016 15:36:39 +0200
Output for 5.6.20
2015-10-27 10:01:13 Sun, 10 Apr 2016 07:47:17 +0200
Output for 5.6.19
2015-10-27 10:01:13 Tue, 08 Mar 2016 04:56:38 +0100
Output for 5.6.18
2015-10-27 10:01:13 Tue, 15 Mar 2016 13:49:04 +0100
Output for 5.6.17
2015-10-27 10:01:13 Sun, 20 Mar 2016 01:23:24 +0100
Output for 5.6.16
2015-10-27 10:01:13 Mon, 28 Mar 2016 10:17:32 +0200
Output for 5.6.15
2015-10-27 10:01:13 Tue, 29 Mar 2016 11:07:02 +0200
Output for 5.6.14
2015-10-27 10:01:13 Thu, 14 Apr 2016 16:48:02 +0200
Output for 5.6.13
2015-10-27 10:01:13 Fri, 15 Apr 2016 17:28:10 +0200
Output for 5.6.12
2015-10-27 10:01:13 Wed, 20 Apr 2016 07:55:57 +0200
Output for 5.6.11
2015-10-27 10:01:13 Sun, 24 Apr 2016 14:21:23 +0200
Output for 5.6.10
2015-10-27 10:01:13 Mon, 25 Apr 2016 16:26:13 +0200
Output for 5.6.9
2015-10-27 10:01:13 Wed, 27 Apr 2016 21:34:19 +0200
Output for 5.6.8
2015-10-27 10:01:13 Sat, 30 Apr 2016 06:23:50 +0200
Output for 5.5.35
2015-10-27 10:01:13 Mon, 23 May 2016 01:03:30 +0200
Output for 5.5.34
2015-10-27 10:01:13 Mon, 11 Apr 2016 09:59:22 +0200
Output for 5.5.33
2015-10-27 10:01:13 Wed, 09 Mar 2016 07:53:21 +0100
Output for 5.5.32
2015-10-27 10:01:13 Thu, 17 Mar 2016 17:44:30 +0100
Output for 5.5.31
2015-10-27 10:01:13 Mon, 21 Mar 2016 04:30:40 +0100
Output for 5.5.30
2015-10-27 10:01:13 Fri, 01 Apr 2016 12:59:04 +0200
Output for 5.5.29
2015-10-27 10:01:13 Sun, 17 Apr 2016 07:45:51 +0200
Output for 5.5.28
2015-10-27 10:01:13 Thu, 21 Apr 2016 11:13:56 +0200
Output for 5.5.27
2015-10-27 10:01:13 Fri, 22 Apr 2016 12:54:19 +0200
Output for 5.5.26
2015-10-27 10:01:13 Tue, 26 Apr 2016 19:05:42 +0200
Output for 5.5.25
2015-10-27 10:01:13 Fri, 29 Apr 2016 02:31:05 +0200
Output for 5.5.24
2015-10-27 10:01:13 Tue, 24 May 2016 08:57:08 +0200
Output for 5.4.44 - 5.4.45
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:15 +0100
Output for 5.4.43
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:16 +0100
Output for 5.4.41 - 5.4.42
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:17 +0100
Output for 5.4.40
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:18 +0100
Output for 5.4.38 - 5.4.39
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:19 +0100
Output for 5.4.36 - 5.4.37
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:20 +0100
Output for 5.4.34 - 5.4.35
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:21 +0100
Output for 5.3.29, 5.4.31 - 5.4.32
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:22 +0100
Output for 5.4.28 - 5.4.30
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:23 +0100
Output for 5.4.24 - 5.4.27
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:24 +0100
Output for 5.3.28, 5.4.21 - 5.4.23
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:25 +0100
Output for 5.4.18 - 5.4.20
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:26 +0100
Output for 5.3.25 - 5.3.27, 5.4.15 - 5.4.17
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:27 +0100
Output for 5.3.21 - 5.3.24, 5.4.12 - 5.4.14
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:28 +0100
Output for 5.3.20, 5.4.10 - 5.4.11
2015-10-27 10:01:13 Tue, 15 Dec 2015 15:29:29 +0100