3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = DateTime::createFromFormat('d.m.Y', '02.04.2016'); echo $date->format('j.n.Y');
based on 6tm1H
Output for 5.6.0 - 7.3.0rc3
2.4.2016