Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将 24 小时添加到生成的时间戳中:
var date:Date = new Date(); var timeStamp:Number = date.time;
谢谢
您可以在时间戳中添加 24 小时(以毫秒为单位)
timeStamp += 60 * 60 * 24 * 1000; //24 hours in milliseconds