3v4l.org

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