計算兩個日期之間的天數

/* 計算兩個日期之間的天數 */  getDateDiff: function (startDate, endDate) { var startTime = new Date(Date.parse(startDate.replace(/-/g, "/"))).getTime(); var endTime = new Date(Date.parse(endDate.replace(/-/g, "/
相關文章
相關標籤/搜索