var myDate = new Date();
var years = myDate.getFullYear();
var months = myDate.getMonth();
var day1=parseInt(substring(formatDate(myDate,"yyyyMMdd"), 7,8))-30
var day2 = myDate.getDate();
日期过滤2.firstDates = ["t"+years+"-"+months+"-"+day1];
日期过滤2.secondDates = ["t"+years+"-"+months+"-"+day2]