3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('now', new DateTimeZone('UTC')); echo $date->format(DateTime::ATOM);
Output for 5.6.28, 7.0.20 - 7.2.0
2016-01-22T10:39:24+00:00
Output for 7.0.6
2016-05-21T12:11:46+00:00
Output for 7.0.5
2016-04-03T08:05:46+00:00
Output for 7.0.4
2016-03-10T21:13:09+00:00
Output for 7.0.3
2016-03-18T22:48:51+00:00
Output for 7.0.2
2016-03-23T04:56:05+00:00
Output for 7.0.1
2016-03-24T07:57:42+00:00
Output for 7.0.0
2016-03-27T08:50:24+00:00
Output for 5.6.21
2016-05-02T15:00:01+00:00
Output for 5.6.20
2016-04-10T07:07:34+00:00
Output for 5.6.19
2016-03-08T05:23:14+00:00
Output for 5.6.18
2016-03-15T14:22:59+00:00
Output for 5.6.17
2016-03-20T01:55:09+00:00
Output for 5.6.16
2016-03-28T09:40:14+00:00
Output for 5.6.15
2016-03-29T10:30:03+00:00
Output for 5.6.14
2016-04-14T16:12:41+00:00
Output for 5.6.13
2016-04-15T16:51:58+00:00
Output for 5.6.12
2016-04-20T07:22:43+00:00
Output for 5.6.11
2016-04-24T13:48:33+00:00
Output for 5.6.10
2016-04-25T15:53:56+00:00
Output for 5.6.9
2016-04-27T21:22:47+00:00
Output for 5.6.8
2016-04-30T05:49:23+00:00
Output for 5.5.35
2016-05-23T01:12:48+00:00
Output for 5.5.34
2016-04-11T09:22:12+00:00
Output for 5.5.33
2016-03-09T08:28:30+00:00
Output for 5.5.32
2016-03-17T18:22:43+00:00
Output for 5.5.31
2016-03-21T05:09:56+00:00
Output for 5.5.30
2016-04-01T12:21:01+00:00
Output for 5.5.29
2016-04-17T07:09:15+00:00
Output for 5.5.28
2016-04-21T10:42:27+00:00
Output for 5.5.27
2016-04-22T12:19:08+00:00
Output for 5.5.26
2016-04-26T18:35:51+00:00
Output for 5.5.25
2016-04-29T02:03:26+00:00
Output for 5.5.24
2016-05-24T08:34:25+00:00
Output for 5.4.44 - 5.4.45
2016-01-22T10:39:27+00:00
Output for 5.4.42 - 5.4.43
2016-01-22T10:39:28+00:00
Output for 5.4.41
2016-01-22T10:39:29+00:00
Output for 5.4.39 - 5.4.40
2016-01-22T10:39:30+00:00
Output for 5.4.36 - 5.4.38
2016-01-22T10:39:31+00:00
Output for 5.4.34 - 5.4.35
2016-01-22T10:39:32+00:00
Output for 5.3.29, 5.4.31 - 5.4.32
2016-01-22T10:39:33+00:00
Output for 5.4.26 - 5.4.30
2016-01-22T10:39:34+00:00
Output for 5.3.28, 5.4.23 - 5.4.25
2016-01-22T10:39:35+00:00
Output for 5.4.19 - 5.4.22
2016-01-22T10:39:36+00:00
Output for 5.3.26 - 5.3.27, 5.4.17 - 5.4.18
2016-01-22T10:39:37+00:00
Output for 5.3.22 - 5.3.25, 5.4.12 - 5.4.16
2016-01-22T10:39:38+00:00