3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new DateTime('2013-07-09 02:00:00'); $a->sub(new DateInterval('PT0H10M')); echo $a->format('H:i'); echo date("H:i:s", strtotime('2013-0709 02:00:00') - (60*10));

preferences:
32.9 ms | 402 KiB | 5 Q