![MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual Download Page 350](http://html1.mh-extra.com/html/macromedia/flash-mx-2004-actionscript/flash-mx-2004-actionscript_reference-manual_3378897350.webp)
350
Chapter 12: ActionScript Dictionary
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
Description
Date.getDate()
Returns the day of the month according to local time.
Date.getDay()
Returns the day of the week according to local time.
Date.getFullYear()
Returns the four-digit year according to local time.
Date.getHours()
Returns the hour according to local time.
Date.getMilliseconds()
Returns the milliseconds according to local time.
Date.getMinutes()
Returns the minutes according to local time.
Date.getMonth()
Returns the month according to local time.
Date.getSeconds()
Returns the seconds according to local time.
Date.getTime()
Returns the number of milliseconds since midnight January 1, 1970,
universal time.
Date.getTimezoneOffset()
Returns the difference, in minutes, between the computer’s local time
and the universal time.
Date.getUTCDate()
Returns the day (date) of the month according to universal time.
Date.getUTCDay()
Returns the day of the week according to universal time.
Date.getUTCFullYear()
Returns the four-digit year according to universal time.
Date.getUTCHours()
Returns the hour according to universal time.
Date.getUTCMilliseconds()
Returns the milliseconds according to universal time.
Date.getUTCMinutes()
Returns the minutes according to universal time.
Date.getUTCMonth()
Returns the month according to universal time.
Date.getUTCSeconds()
Returns the seconds according to universal time.
Date.getYear()
Returns the year according to local time.
Date.setDate()
Sets the day of the month according to local time. Returns the new
time in milliseconds.
Date.setFullYear()
Sets the full year according to local time. Returns the new time
in milliseconds.
Date.setHours()
Sets the hour according to local time. Returns the new time
in milliseconds.
Summary of Contents for FLASH MX 2004 - ACTIONSCRIPT
Page 1: ...ActionScript Reference Guide...
Page 8: ...8 Contents...
Page 12: ......
Page 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Page 54: ...54 Chapter 2 ActionScript Basics...
Page 80: ...80 Chapter 3 Writing and Debugging Scripts...
Page 82: ......
Page 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Page 112: ......
Page 120: ...120 Chapter 6 Using the Built In Classes...
Page 176: ......
Page 192: ...192 Chapter 10 Working with External Data...
Page 202: ...202 Chapter 11 Working with External Media...
Page 204: ......
Page 782: ...782 Chapter 12 ActionScript Dictionary...
Page 793: ...Other keys 793 221 222 Key Key code...
Page 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Page 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Page 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Page 816: ...816 Index...