function getMonthBetween(start, end) { let result = []; let min = new Date(start); let max = new Da
var startDate = '2022-02-15 11:30:00' var endDate = '2022-02-15 09:00:00' var newDate = new Date(startDa
function twoTimeInterval(startTime, endTime) { // 开始时间 let d1 = startTime.replace(/\-/g, "/"); let date1 = new
//计算方法 function getDuration(my_time) { var days = my_time / 1000 / 60 / 60 / 24; var daysRound = Math.floor(days); var h