function DateDiff(asStartDate,asEndDate) { //获得日期差值 var miStart=Date.parse(asStartDate.replace(/\-/g,'/')); var miEnd=Date.parse(asEndDate.replace(/\-/g,'/')); return (miEnd-miStart)/(1000*24*3600); }
function DateDiff(asStartDate,asEndDate) { //获得日期差值 var miStart=Date.parse(asStartDate.replace(/\-/g,'/')); var miEnd=Date.parse(asEndDate.replace(/\-/g,'/')); return (miEnd-miStart)/(1000*24*3600); }