3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('h:i:s A'); $date = date('h:i:s A', strtotime("+3 hours")); echo $date; ?>
Output for 4.3.0 - 4.4.9, 5.0.3 - 7.1.0
12:24:25 PM03:24:25 PM
Output for 5.0.0 - 5.0.2
12:24:25 PM03:00:00 AM