
Date.setMinutes() Method
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
513
Arguments
year A four-digit integer, representing the new year for date (for example, 1999 or
2000).
month An optional integer from 0 (January) to 11 (December), not 1 to 12, repre-
senting the new month of the year of
date. Defaults to 0 if not specified.
day An optional integer from 1 to 31, representing the new day of the month of
date. Defaults to 1 if not specified.
Returns
An integer representing the number of milliseconds between the new date and midnight,
January 1, 1970.
See Also
Date.getFullYear(), Date.setYear()
Date.setHours() Method
assign the hour of the day
Flash 5
date.setHours(hour)
Arguments
hour An integer from 0 (midnight) to 23 (11 P.M.), specifying the new hour of the
day for
date.
Returns
An integer representing the number of milliseconds between the new date and midnight,
January 1, 1970.
See Also
Date.getHours()
Date.setMilliseconds() Method
assign the milliseconds of a date
Flash 5
date.setMilliseconds(ms)
Arguments
ms An integer from 0 to 999, representing the new milliseconds of date, not the
number of milliseconds since 1970. Values above 999 or below 0 are carried
over to the seconds of
date.
Returns
An integer representing the number of milliseconds between the new date and midnight,
January 1, 1970.
See Also
Date.getMilliseconds( ...