📅  最后修改于: 2022-03-11 15:05:17.854000             🧑  作者: Mango
To count the difference between dates in MySQL, use the DATEDIFF(enddate, startdate) function. The difference between startdate and enddate is expressed in days.