368 Chapter 12: ActionScript Dictionary
Date.setUTCSeconds()
Availability
Flash Player 5.
Usage
my_date.setUTCSeconds(second [, millisecond]))
Parameters
second
An integer from 0 to 59.
millisecond An integer from 0 to 999. This parameter is optional.
Returns
An integer.
Description
Method; sets the seconds for the specified Date object in universal time, and returns the new time
in milliseconds.
Date.setYear()
Availability
Flash Player 5.
Usage
my_date.setYear(year)
Parameters
year
If year is an integer between 0–99, setYear sets the year at 1900 + year; otherwise, the
year is the value of the
year parameter.
Returns
An integer.
Description
Method; sets the year 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.