标签:
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()); }
[ActionScript 3.0] AS3.0根据当天日期获取明天,后天...日期
标签:
原文地址:http://www.cnblogs.com/frost-yen/p/5213424.html