📅  最后修改于: 2022-03-11 14:53:59.145000             🧑  作者: Mango
$datetime = new DateTime();
//PT 'TIME' M
//PT30S -> 30 Seconds
//PT30M -> 30 Minutes
//PT30H -> 30 Hours
$datetime->sub(new DateInterval('PT12H30M'));