3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $format = "Y/m/d H:i:s"; echo date("Y-m-d H:i:s", strtotime('2014/09/26 23:59:59'));
based on s2F4S
Output for 4.3.0 - 7.1.7
2014-09-26 23:59:59