📅  最后修改于: 2022-03-11 14:48:15.651000             🧑  作者: Mango
function findDayDifference(date1, date2) {
// always round down
return Math.floor((Math.abs(date2-date1))/(1000*60*60*24));
}