标签:class div code mat begin math 日期 day col
let date = new Date(2020, 1, 9); let beginDate = new Date(date.getFullYear(), 0, 1); let week = Math.ceil((parseInt((date - beginDate) / (24 * 60 * 60 * 1000)) + 1 + beginDate.getDay()) / 7);
标签:class div code mat begin math 日期 day col
原文地址:https://www.cnblogs.com/idtjie/p/12172788.html