📅  最后修改于: 2022-03-11 14:57:42.131000             🧑  作者: Mango
echo date('c'); //2021-02-03T21:42:51-08:00
echo date(DATE_ISO8601); //2021-02-03T21:42:51-0800
$datetime = new DateTime();
echo $datetime->format(DateTime::ATOM); //2021-02-03T21:42:51-08:00