📅  最后修改于: 2022-03-11 14:54:05.745000             🧑  作者: Mango
$startdate->diffInDays($todate); //total days between two dates
$startdate->diffInMinutes($todate); //total number of minutes between two dates
$startdate->diffInMonths($todate); //total number of months difference