How to Get Today's Date in ActionScript 3 (AS3)
Last Updated on Wednesday, 30 September 2009 21:02 Written by Nicholas Dunbar
The Date() constructor takes up to seven parameters (year, month, ..., millisecond) to specify a date and time to the millisecond.
The date that the newly constructed Date object contains depends on the number, and data type, of arguments passed.
If you pass no arguments, the Date object is assigned the current date and time.
var todaysDate:Date = new Date();
Set as favorite
Bookmark
Email This
Hits: 2204
Comments (0)

Write comment

