3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $laikas = new \DateTime(); var_dump($laikas->format('Y.m.d H:i:s'));
based on tVNj5
Output for 5.6.28, 7.0.20 - 7.2.0
string(19) "2015.09.09 18:38:58"
Output for 7.0.6
string(19) "2016.05.03 08:22:44"
Output for 7.0.5
string(19) "2016.04.02 21:19:10"
Output for 7.0.4
string(19) "2016.03.10 07:38:19"
Output for 7.0.3
string(19) "2016.03.18 08:11:32"
Output for 7.0.2
string(19) "2016.03.22 13:56:51"
Output for 7.0.1
string(19) "2016.03.23 18:59:10"
Output for 7.0.0
string(19) "2016.03.26 20:35:47"
Output for 5.6.21
string(19) "2016.05.02 03:42:40"
Output for 5.6.20
string(19) "2016.04.09 20:12:04"
Output for 5.6.19
string(19) "2016.03.07 15:45:20"
Output for 5.6.18
string(19) "2016.03.14 23:31:21"
Output for 5.6.17
string(19) "2016.03.19 12:29:49"
Output for 5.6.16
string(19) "2016.03.27 22:21:50"
Output for 5.6.15
string(19) "2016.03.28 23:14:42"
Output for 5.6.14
string(19) "2016.04.02 01:48:24"
Output for 5.6.13
string(19) "2016.04.15 05:43:59"
Output for 5.6.12
string(19) "2016.04.19 19:22:12"
Output for 5.6.11
string(19) "2016.04.23 02:23:02"
Output for 5.6.10
string(19) "2016.04.25 04:12:08"
Output for 5.6.9
string(19) "2016.04.27 09:09:32"
Output for 5.6.8
string(19) "2016.04.29 17:10:55"
Output for 5.6.7
string(19) "2016.05.25 11:58:03"
Output for 5.5.35
string(19) "2016.05.22 07:24:48"
Output for 5.5.34
string(19) "2016.04.10 22:35:50"
Output for 5.5.33
string(19) "2016.03.08 18:34:27"
Output for 5.5.32
string(19) "2016.03.17 01:22:45"
Output for 5.5.31
string(19) "2016.03.20 15:16:32"
Output for 5.5.30
string(19) "2016.04.01 01:22:49"
Output for 5.5.29
string(19) "2016.04.16 19:49:05"
Output for 5.5.28
string(19) "2016.04.20 22:28:10"
Output for 5.5.27
string(19) "2016.04.22 00:58:44"
Output for 5.5.26
string(19) "2016.04.26 06:37:59"
Output for 5.5.25
string(19) "2016.04.28 12:41:30"
Output for 5.5.24
string(19) "2016.05.23 19:38:07"
Output for 5.4.41 - 5.4.45
string(19) "2015.09.09 18:39:08"
Output for 5.4.35 - 5.4.40
string(19) "2015.09.09 18:39:09"
Output for 5.4.27 - 5.4.34
string(19) "2015.09.09 18:39:10"
Output for 5.4.21 - 5.4.26
string(19) "2015.09.09 18:39:11"
Output for 5.4.14 - 5.4.20
string(19) "2015.09.09 18:39:12"
Output for 5.4.7 - 5.4.13
string(19) "2015.09.09 18:39:13"
Output for 5.4.6
string(19) "2015.10.27 03:17:06"
Output for 5.4.5
string(19) "2015.10.27 04:47:47"
Output for 5.4.4
string(19) "2015.10.27 06:22:58"
Output for 5.4.3
string(19) "2015.10.27 08:04:23"
Output for 5.4.2
string(19) "2015.10.27 09:49:48"
Output for 5.3.28 - 5.3.29
string(19) "2015.09.20 17:00:59"
Output for 5.3.26 - 5.3.27
string(19) "2015.09.20 17:00:58"
Output for 5.3.24 - 5.3.25
string(19) "2015.09.20 17:00:57"
Output for 5.3.22 - 5.3.23
string(19) "2015.09.20 17:00:56"
Output for 5.3.20 - 5.3.21
string(19) "2015.09.20 17:00:55"
Output for 5.3.18 - 5.3.19
string(19) "2015.09.20 17:00:54"
Output for 5.3.17
string(19) "2015.09.20 17:00:53"