
Date.getUTCSeconds() Method
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
512
|
ActionScript Language Reference
Usage
Be careful not to assume that 1 is January! The return value of getUTCMonth() starts at 0,
not 1.
Date.getUTCSeconds() Method
the seconds of a date (UTC time)
Flash 5
date.getUTCSeconds()
Returns
An integer from 0 to 59, representing the seconds of the minute of date, where date is
treated as a UTC time.
Date.getYear() Method
the year, relative to 1900
Flash 5
date.getYear()
Returns
The value of date.getFullYear() minus 1900. For example, getYear() of 1999 is 99,
getYear() of 2001 is 101, and getYear() of 1800 is –100. This function is most useful for
dates in the twentieth century.
See Also
Date.getFullYear()
Date.setDate() Method
assign the day of the month
Flash 5
date.setDate(day)
Arguments
day An integer from 1 to 31, representing the new day of the month for date.If
you specify a day greater than the number of days in the current month, it
causes the month to increment accordingly. For example, if the current
month
is 8 (September), and you specify 31 for the new day, the date is treated as
October 1. The
day becomes 1, and the month becomes 9 (October).
Returns
An integer representing the number of milliseconds between the new date and midnight,
January 1, 1970.
See Also
Date.getDate(), Date.setMonth()
Date.setFullYear() Method
assign ...