原文: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 lastMonthD ...

2020-08-18 20:42 0 607 推荐指数:

查看详情

JS获取本周本月本季度、本年

------------------------------------------------------------------------------------------------------------------------------- dateRangUtil.js ...

Wed Apr 01 03:39:00 CST 2020 0 2489
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM