📅  最后修改于: 2022-03-11 14:53:55.450000             🧑  作者: Mango
代码示例1
$date = new DateTime();
$date->setTimezone(new DateTimeZone('America/Detroit'));
$fdate = $date->format('Y-m-d H:i:s');`