364 Chapter 12: ActionScript Dictionary
Date.setSeconds()
Availability
Flash Player 5.
Usage
my_date.setSeconds(second)
Parameters
second
An integer from 0 to 59.
Returns
An integer.
Description
Method; sets the seconds for the specified Date object in local time, and returns the new time
in milliseconds. Local time is determined by the operating system on which Flash Player
is running.
Date.setTime()
Availability
Flash Player 5.
Usage
my_date.setTime(milliseconds)
Parameters
milliseconds
An integer value where 0 is 0:00 GMT 1970 Jan 1.
Returns
An integer.
Description
Method; sets the date for the specified Date object in milliseconds since midnight on January 1,
1970, and returns the new time in milliseconds.