微信小程序 js 获取当前月份的天数

// 计算这个月有多少天 getCurrentMonthDayNum:function () { let today = new Date(); let dayAllThisMonth = 31; if (today.getMonth() + 1 != 12) { let currentMonthStartDate = new Date(today.getF
相关文章
相关标签/搜索