🌈 搜索
📅  最后修改于: 2022-03-11 14:54:44.490000             🧑  作者: Mango
$date = new DateTime($event['date']); $now = new DateTime(); if($date < $now) { echo 'Date is in the past'; }