3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d\TH:i:sP'); $round = ( round ( time() / 60 ) * 60 ); echo date('h:i:s A', $round );
Output for 5.1.3 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2013-07-26T12:48:09+02:0012:48:00 PM
Output for 4.3.0 - 5.1.2
2013-07-26T12:48:09P12:48:00 PM