3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! echo strtotime("2013-07-09 02:58:53").'\r\n'; $datetime = strtotime("2013-07-09 02:58:53"); echo date("m/d/y h:i A", $datetime);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1373331533\r\n07/09/13 02:58 AM