
Date.setUTCFullYear() Method
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
516
|
ActionScript Language Reference
Date.setUTCFullYear() Method
assign the century and year in four-digit format (UTC time)
Flash 5
date.setUTCFullYear(year)
Arguments
year A four-digit integer, representing the new year for date, in UTC time (for
example, 1999 or 2000).
Returns
An integer representing the number of milliseconds between the new date and midnight,
January 1, 1970, in UTC time.
Date.setUTCHours() Method
assign the hour of the day (UTC time)
Flash 5
date.setUTCHours(hour)
Arguments
hour An integer from 0 (midnight) to 23 (11 P.M.), representing the new hour of
the day for
date, in UTC time.
Returns
An integer representing the number of milliseconds between the new date and midnight,
January 1, 1970, in UTC time.
Date.setUTCMilliseconds() Method
assign the milliseconds of a date (UTC time)
Flash 5
date.setUTCMilliseconds(ms)
Arguments
ms An integer from 0 to 999, representing the new milliseconds of date, in UTC
time.
Returns
An integer representing the number of milliseconds between the new date and midnight,
January 1, 1970 in UTC time.
Date.setUTCMinutes() Method
assign the minutes of a date (UTC time)
Flash 5
date.setUTCMinutes(minutes)
Arguments
minutes An integer from 0 to 59, representing the new minutes of the hour of date,in
UTC time.