Flash Player 5 handles daylight saving time on the following operating systems as follows:
•
Windows—the U.S. rules for daylight saving time are always applied, which leads to incorrect
transitions in Europe and other areas that employ daylight saving time but have different
transition times than the U.S. Flash correctly detects whether DST is employed in the
current locale.
To call the methods of the Date class, you must first create a Date object using the constructor for
the Date class, described later in this section.
Method summary for the Date class
Method
Date.getDate()
Date.getDay()
Date.getFullYear()
Date.getHours()
Date.getMilliseconds()
Date.getMinutes()
Date.getMonth()
Date.getSeconds()
Date.getTime()
Date.getTimezoneOffset()
Date.getUTCDate()
Date.getUTCDay()
Date.getUTCFullYear()
Date.getUTCHours()
Date.getUTCMilliseconds()
Date.getUTCMinutes()
Date.getUTCMonth()
Date.getUTCSeconds()
Date.getYear()
Date.setDate()
Date.setFullYear()
Date.setHours()
350
Chapter 12: ActionScript Dictionary
Description
Returns the day of the month according to local time.
Returns the day of the week according to local time.
Returns the four-digit year according to local time.
Returns the hour according to local time.
Returns the milliseconds according to local time.
Returns the minutes according to local time.
Returns the month according to local time.
Returns the seconds according to local time.
Returns the number of milliseconds since midnight January 1, 1970,
universal time.
Returns the difference, in minutes, between the computer's local time
and the universal time.
Returns the day (date) of the month according to universal time.
Returns the day of the week according to universal time.
Returns the four-digit year according to universal time.
Returns the hour according to universal time.
Returns the milliseconds according to universal time.
Returns the minutes according to universal time.
Returns the month according to universal time.
Returns the seconds according to universal time.
Returns the year according to local time.
Sets the day of the month according to local time. Returns the new
time in milliseconds.
Sets the full year according to local time. Returns the new time
in milliseconds.
Sets the hour according to local time. Returns the new time
in milliseconds.
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?