js中获取月份和季度的最后一天
//获取选中月的第一天和最后一天function getFirstAndLastMonthDay( year, month){ var firstdate = year + '-' + month + '-01'; var day = new Date(year,month,0); var lastdate = year + '-' + month + '-' + day.get