摘要:
function calcDate(month){ // 计算当月天数 不需要+1 按正常月份传参 var oDate = new Date(); oDate.setDate(1) //设置当月 日数 为1 oDate.setMonth(month) //设置月数 oDate.setDate(0) //把日期设置上个月最后一天 let dayLength = oDa... 阅读全文
posted @ 2018-01-29 17:03
ksunone
阅读(205)
评论(0)
推荐(0)

浙公网安备 33010602011771号