var dayName= ["周日","周一","周二","周三","周四","周五","周六"];
var oneDay = 24*60*60*1000;
var curTime = new Date().getTime();
var ret=[];
for(var i=0;i<30;i++)
{
var d = new Date(curTime+i*oneDay);
ret.push(d.getFullYear()+'-'+(d.getMonth()+1)+'-'+(d.getDate()) + dayName[d.getDay()]);
}
console.log(ret);
走同样的路,发现不同的人生