3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $originalDate = "03/21/2010"; $newDate = date("d-m-Y", strtotime($originalDate)); echo $newDate;
Output for 4.3.0 - 7.3.0rc4
21-03-2010