Flex中如何获取当前时间的一个月前时间?_百度知道
问题描述: 以30天为1个月!var date = new Date(); //获取当前时间2014-8-18 return new Date(date.getFullYear(),date.getMonth()-1, date.getDate(),date.getHours(),date...更多关于FLEX日期问题,莫名其妙少1个小时的问题>>
Flex 里面 我想求个方法能将 时间减去一个月_百度知道
最佳答案: ....很简单的. var str:String = "2014-01-21";var date:Date = new Date(str);returnDate["month"] += 1;//月+1...就是2014-02-01 ...更多关于FLEX日期问题,莫名其妙少1个小时的问题>>