摘要: var myDate = new Date(); console.log(myDate.getFullYear()); //获取完整的年份(4位,1970-????) console.log(myDate.getMonth()); //获取当前月份(0-11,0代表1月) console.log(m 阅读全文
posted @ 2018-06-13 18:17 松手丶明晃晃 阅读(159) 评论(0) 推荐(0) 编辑