用什么方法可以快速对比 把蓝框内这种 存在于时间段范围内的删除掉
2004-02-01,2007-01-01 存在于 2003-08-01,2008-06-30 里面了
用什么方法可以快速对比 把蓝框内这种 存在于时间段范围内的删除掉
2004-02-01,2007-01-01 存在于 2003-08-01,2008-06-30 里面了
用js去比较时间大小
类似这种
var curTime = new Date().getTime(); // 当前时间的时间戳 当期时间2018-09-30
var strTime = "2018-10-01";
var strTimeDate = new Date(Date.parse(strTime .replace('/-/g','/'))).getTime(); // 国庆节时间戳
console.log(curTime );// 结果1538290614716
console.log(strTimeDate );// 结果1538352000000