//验证年月日是否合法,判断平年和闰年的2月是否有29天 function checkYearMonthDay(year, month, day) { var arrMonth = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']; var arrMonthDay31 = ['01', '03', '05', '07', '08', '10', '12' ]; var arrMonthDay30 = ['04', '06', '09', '11']; ...
阅读正文