摘要: var time = new Date(); //当前时间 var year = time.getFullYear();//当前年份 var month = time.getMonth()+1; //当前月份 var Same_day = time.getDate(); //当前月份几号 var time1 = new Date(year,month,1-1); var Last_day =... 阅读全文
posted @ 2018-12-10 14:05 JavaScript菜鸟 阅读(978) 评论(0) 推荐(0) 编辑