JS判断当前时间是否在某个区间之内

function isDuringDate(beginDateStr, endDateStr) {     var curDate = new Date(),      

begindatestrcurdatedateenddatestrnew