You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* 两个公历日期之间的天数
*/
function getDaysBetweenSolar(year,month,day, year1,month1,day1){
var date = new Date(year,month,day).getTime();
var date1 = new Date(year1,month1,day1).getTime();
return Math.round((date1-date) / 86400000);
};
计算到1986年-1991年之间的时候,计算的day不是整数。是小数。
The text was updated successfully, but these errors were encountered: