3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime)->format('Y-m-dTH:m:s'); echo "\n"; echo date('Y-m-dTH:m:s'); echo "\n"; echo date('yyyy-MM-ddThh:mm:ss.sssTZD');
based on OU9PJ
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
2017-07-11CEST21:07:05 2017-07-11CEST21:07:05 17171717-JulJul-1111CEST0909:0707:0505.050505CEST7200Tue