微信小程序 js 獲取當前月份的天數

// 計算這個月有多少天 getCurrentMonthDayNum:function () { let today = new Date(); let dayAllThisMonth = 31; if (today.getMonth() + 1 != 12) { let currentMonthStartDate = new Date(today.getF
相關文章
相關標籤/搜索