var arr1=[];
function getBeforeDate(){
var date = new Date();
for(var i=1;i<=3;i++){
var _date1=new Date(date.getTime()-(i102436001000));
var month1=_date1.getMonth()+1;
var day1=_date1.getDate();
arr1.push(month1+'-'+day1)
}
arr1.push((date.getMonth()+1)+'-'+(date.getDate()))
for(var j=1;j<=3;j++){
var _date2=new Date(date.getTime()+(j102436001000));
var month2=_date2.getMonth()+1;
var day2=_date2.getDate();
arr1.push(month2+'-'+day2)
}
}
getBeforeDate()