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, date('i', $cd), date('s', $cd), date('m', $cd), date('d', $cd), date('Y', $cd))); echo($newdate."\n");
Output for 5.1.0 - 7.1.0
1373988600 1970/01/01 04:00:00
Output for 4.3.0 - 5.0.5
1373988600 137405/02/01 03:00:00