// 计算相差分钟数
timeDifference(startTime, endTime) {
let start1 = startTime.split(':');
let startAll = parseInt(start1[0]*60) + parseInt(start1[1])
let end1 = endTime.split(':');
let endAll = parseInt(end1[0]*60) + parseInt(end1[1])
return endAll - startAll
}
获取间隔分钟数
最新推荐文章于 2024-11-02 12:42:04 发布