fork(10) download
  1. <?php
  2. $date = new DateTime('00:12:00');
  3. $date->sub(new DateInterval('PT1H'));
  4. echo $date->format('h:i:s') . "\n";
Success #stdin #stdout 0.01s 83904KB
stdin
Standard input is empty
stdout
11:12:00