3v4l.org

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