028-86922220

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

script取一个月的最后一天

//=================取一个月的最后一天
function getLastDay(year,nextMonth){
var theDay = new Date(year,nextMonth,0)
theDay = theDay-1
lastDay = theDay.getFullYear()+"-"+(theDay.getMonth()+1)+"-"+theDay.getDate()
Alert(lastDay);
return lastDay
}[@more@]
网页标题:script取一个月的最后一天
文章分享:http://www.tsicrk.com/article/pehdpj.html

其他资讯

让你的专属顾问为你服务

1.9122s