摘要: //使用new Date(year,month,0)的方式,可以获取该月的最后一天var lastDay= new Date(2020,5,0).getDate() //31 阅读全文
posted @ 2020-05-25 15:27 javascript9527 阅读(4616) 评论(0) 推荐(0) 编辑