3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = '2013-04-26T18:00:00-04:00'; $dt = strtotime($time); echo date('D, j M Y h:i:s A T', $dt);
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Sat, 27 Apr 2013 12:00:00 AM CEST
Output for 4.3.0 - 4.4.9
Thu, 1 Jan 1970 12:59:59 AM CET