[ActionScript 3.0] AS3.0根据当天日期获取明天,后天...日期
const dayTime:Number=24*3600*1000//一天毫秒数 var date:Date = new Date(); trace("今天:"+ date.toDateString()); for(var i:int = 2;i<15;i++){ date.setTime(date.valueOf()+dayTime); trace("第"+i+"天:"+ date.toDateString()); }
------------------------------------------------------------------
Always put yourself in the other's shoes.If you feel that it hurts you,it probably hurts others,too.------------------------------------------------------------------