3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo Datetime::createFromFormat('d/m/Y', '22/01/1986')->format('Y-m-d');
based on hrbQJ
Output for 5.5.0 - 7.3.0rc4
1986-01-22