function GetDateStr(AddDayCount) {// AddDayCount为前后多少天,例:后一天AddDayCount=1,前30
// 天AddDayCount= -30;
var dd = new Date();
dd.setDate(dd.getDate()+AddDayCount);//获取AddDayCount天后的日期
var y = dd.getFullYear();
var m = dd.getMonth()+1;//获取当前月份的日期
var d = dd.getDate();
return y+"-"+m+"-"+d;
}