3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = "Wed Jun 05 2013 00:00:00 GMT-0400 (Eastern Daylight Time)"; echo date('Y-m-d', strtotime($date));
Output for 4.3.0 - 5.1.2, 5.3.0 - 7.1.0
1970-01-01
Output for 5.1.3 - 5.2.17
2013-06-05