3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo($givendate = strtotime('2013-07-16 17:30:00')."\n"); $cd = strtotime($givendate); $newdate = date('Y/m/d h:i:s', mktime(date('h', $cd) + 15)); echo($newdate."\n");
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1373988600 2013/07/16 04:14:52
Output for 4.3.0 - 5.0.5
1373988600 2013/07/17 03:14:52