<?php$date = new DateTime('00:12:00');$date->sub(new DateInterval('PT1H'));echo $date->format('h:i:s') . "\n";
Standard input is empty
11:12:00
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!