3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date_create('now')->format(DateTime::ISO8601) . PHP_EOL; echo date_create('-5 minutes')->format(DateTime::ISO8601);
based on KApdl
Output for 5.6.28, 7.0.20 - 7.2.0
2015-09-17T04:41:31+0200 2015-09-17T04:36:31+0200
Output for 7.0.6
2016-05-03T07:12:10+0200 2016-05-03T07:07:10+0200
Output for 7.0.5
2016-04-02T20:11:58+0200 2016-04-02T20:06:58+0200
Output for 7.0.4
2016-03-10T06:22:34+0100 2016-03-10T06:17:34+0100
Output for 7.0.3
2016-03-18T06:50:37+0100 2016-03-18T06:45:37+0100
Output for 7.0.2
2016-03-22T12:23:26+0100 2016-03-22T12:18:26+0100
Output for 7.0.1
2016-03-23T17:43:59+0100 2016-03-23T17:38:59+0100
Output for 7.0.0
2016-03-26T19:25:32+0100 2016-03-26T19:20:32+0100
Output for 5.6.21
2016-05-02T02:29:35+0200 2016-05-02T02:24:35+0200
Output for 5.6.20
2016-04-09T16:22:50+0200 2016-04-09T16:17:50+0200
Output for 5.6.19
2016-03-07T07:53:15+0100 2016-03-07T07:48:15+0100
Output for 5.6.18
2016-03-14T20:49:39+0100 2016-03-14T20:44:39+0100
Output for 5.6.17
2016-03-19T11:10:25+0100 2016-03-19T11:05:25+0100
Output for 5.6.16
2016-03-27T21:10:29+0200 2016-03-27T21:05:29+0200
Output for 5.6.15
2016-03-28T22:04:26+0200 2016-03-28T21:59:26+0200
Output for 5.6.14
2016-04-02T00:30:48+0200 2016-04-02T00:25:48+0200
Output for 5.6.13
2016-04-15T04:35:04+0200 2016-04-15T04:30:04+0200
Output for 5.6.12
2016-04-19T18:07:49+0200 2016-04-19T18:02:49+0200
Output for 5.6.11
2016-04-23T01:05:56+0200 2016-04-23T01:00:56+0200
Output for 5.6.10
2016-04-25T02:57:21+0200 2016-04-25T02:52:21+0200
Output for 5.6.9
2016-04-27T07:55:36+0200 2016-04-27T07:50:36+0200
Output for 5.6.8
2016-04-29T15:51:43+0200 2016-04-29T15:46:43+0200
Output for 5.6.7
2016-05-25T08:21:58+0200 2016-05-25T08:16:58+0200
Output for 5.5.35
2016-05-22T06:07:20+0200 2016-05-22T06:02:20+0200
Output for 5.5.34
2016-04-10T21:26:16+0200 2016-04-10T21:21:16+0200
Output for 5.5.33
2016-03-08T17:16:54+0100 2016-03-08T17:11:54+0100
Output for 5.5.32
2016-03-16T23:19:30+0100 2016-03-16T23:14:30+0100
Output for 5.5.31
2016-03-20T13:58:54+0100 2016-03-20T13:53:54+0100
Output for 5.5.30
2016-04-01T00:04:32+0200 2016-03-31T23:59:32+0200
Output for 5.5.29
2016-04-16T18:39:59+0200 2016-04-16T18:34:59+0200
Output for 5.5.28
2016-04-20T21:12:29+0200 2016-04-20T21:07:29+0200
Output for 5.5.27
2016-04-21T23:38:23+0200 2016-04-21T23:33:23+0200
Output for 5.5.26
2016-04-26T05:23:41+0200 2016-04-26T05:18:41+0200
Output for 5.5.25
2016-04-28T11:26:14+0200 2016-04-28T11:21:14+0200
Output for 5.5.24
2016-05-23T18:21:35+0200 2016-05-23T18:16:35+0200
Output for 5.4.45
2015-09-17T04:41:38+0200 2015-09-17T04:36:38+0200
Output for 5.4.32 - 5.4.44
2015-09-17T04:41:39+0200 2015-09-17T04:36:39+0200
Output for 5.4.21 - 5.4.31
2015-09-17T04:41:40+0200 2015-09-17T04:36:40+0200
Output for 5.4.9 - 5.4.20
2015-09-17T04:41:41+0200 2015-09-17T04:36:41+0200
Output for 5.3.27 - 5.4.8
2015-09-17T04:41:42+0200 2015-09-17T04:36:42+0200
Output for 5.3.18 - 5.3.26
2015-09-17T04:41:43+0200 2015-09-17T04:36:43+0200