How to Get Today's Date in ActionScript 3 (AS3)

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();

Comments (0)add comment

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security image
Write the displayed characters


busy