原文:js 獲取 本周、上周、本月、上月、本季度、上季度的開始結束日期

獲取本周 本季度 本月 上月的開始日期 結束日期 var now new Date 當前日期 var nowDayOfWeek now.getDay 今天本周的第幾天 var nowDay now.getDate 當前日 var nowMonth now.getMonth 當前月 var nowYear now.getYear 當前年 nowYear nowYear lt : var lastM ...

2020-04-06 09:38 0 1023 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM