this.endtime = endtimeone.substr(0,10);
var iDays = Math.floor(Math.abs(Date.parse(this.start) - Date.parse(this.endtime)) / (24 * 3600 * 1000))
计算两个时间段之间相隔多少天
猜你喜欢
转载自blog.csdn.net/wuwenjie_1997/article/details/103999421
今日推荐
周排行