$datetime = new DateTime(); //PT 'TIME' M //PT30S -> 30 Seconds //PT30M -> 30 Minutes //PT30H -> 30 Hours $datetime->sub(new DateInterval('PT12H30M'));