3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo $new_time = date("Y-m-d H:i:s", strtotime( "2014-01-02 04:02:58".'+3 hours')); ?>
Output for 4.3.6 - 7.1.0
2014-01-02 07:02:58
Output for 4.3.0 - 4.3.5
2014-01-02 03:02:58