2013年5月31日
摘要: //某年某月最后一天function getLastDay(year, month) { var nyear = year; var nmonth = month++; if (month > 12) { nmonth -= 12; nyear++; } var n_date = new Date(nyear, nmonth, 1); return (new Date(n_date.getTime() - 1000 * 60 * 60 * 24)).getDate();} 阅读全文
posted @ 2013-05-31 16:06 ziye.cc 阅读(833) 评论(0) 推荐(0)