📜  碳相等日期 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:27.231000             🧑  作者: Mango

代码示例1
$date1 = Carbon::createFromFormat('m/d/Y H:i:s', '12/01/2020 10:20:00');
$date2 = Carbon::createFromFormat('m/d/Y H:i:s', '12/01/2020 10:20:00'); 
$result = $date1->eq($date2);