摘要: var myDate = new Date(); //获取本月第一天周几 var monthFirst = new Date(myDate.getFullYear(), parseInt(myDate.getMonth()), 1).getDay(); //获取本月天数(获取后一个月的0日即前一月的 阅读全文
posted @ 2017-03-13 12:02 善未易明 阅读(5048) 评论(0) 推荐(0)