Description
Method; sets the year of the specified Date object, according to local time, and returns the new
time in milliseconds. If the
time. Local time is determined by the operating system on which Flash Player is running.
Calling this method does not modify the other fields of the specified Date object but
Date.getUTCDay()
as a result of calling this method.
Date.setHours()
Availability
Flash Player 5.
Usage
my_date.setHours(hour)
Parameters
An integer from 0 (midnight) to 23 (11 p.m.).
hour
Returns
An integer.
Description
Method; sets the hours for the specified Date object according to local time, and returns the new
time in milliseconds. Local time is determined by the operating system on which Flash Player
is running.
Date.setMilliseconds()
Availability
Flash Player 5.
Usage
my_date.setMilliseconds(millisecond)
Parameters
millisecond
Returns
An integer.
Description
Method; sets the milliseconds for the specified Date object according to local time, and returns
the new time in milliseconds. Local time is determined by the operating system on which Flash
Player is running.
362
Chapter 12: ActionScript Dictionary
and
month
and
Date.getDay()
An integer from 0 to 999.
parameters are specified, they are also set to local
date
may report a new value if the day of the week changes
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers