Method
|
Description
|
new Date()
|
The Date Object
|
Date.getDate()
|
Retrieves the day of the month
|
Date.getDay()
|
Retrieves the day of the week
|
Date.getFullYear()
|
Retrieves the full four-digit year.
|
Date.getHours()
|
Retrieves the current hour.
|
Date.getMilliseconds()
|
Retrieves the current millisecond.
|
Date.getMinutes()
|
Retrieves the current minute.
|
Date.getMonth()
|
Retrieves the current month.
|
Date.getSeconds()
|
Retrieves the current second.
|
Date.getTime()
|
Retrieves the number of milliseconds that have passed since midnight January 1, 1970 (universal time)
|
Date.getTimezoneOffset()
|
Retrieves the difference between the local time of the system running the Flash player and Universal Time.
|
Date.getUTCDate()
|
Retrieves the day of the month according to Universal Time.
|
Date.getUTCDay()
|
Retrieves the day of the week according to Universal Time.
|
Date.getUTCFullYear()
|
Retrieves the full four-digit year according to Universal Time.
|
Date.getUTCHours()
|
Retrieves the hour according to Universal Time.
|
Date.getUTCMilliseconds()
|
Retrieves the millisecond according to Universal Time.
|
Date.getUTCMinutes()
|
Retrieves the minute according to Universal Time.
|
Date.getUTCMonth()
|
Retrieves the month according to Universal Time.
|
Date.getUTCSeconds()
|
Retrieves the second according to Universal Time.
|
Date.getYear()
|
Retrieves the current two-digit year. The year is the full (four-digit) year minus 1900
|
Date.setDate()
|
Sets the current date.
|
Date.setFullYear()
|
Sets the full four-digit year
|
Date.setHours()
|
Sets the hour.
|
Date.setMilliseconds()
|
Sets the millisecond.
|
Date.setMinutes()
|
Sets the minute.
|
Date.setMonth()
|
Sets the month.
|
Date.setSeconds()
|
Sets the second.
|
Date.setTime()
|
Sets the date for the Date Object specified since 12:00am on January 1, 1970
|
Date.setUTCDate()
|
Sets the date according to Universal Time.
|
Date.setUTCFullYear()
|
Sets the full four-digit year according to Universal Time.
|
Date.setUTCHours()
|
Sets the hour according to Universal Time.
|
Date.setUTCMilliseconds()
|
Sets the millisecond according to Universal Time.
|
Date.setUTCMinutes()
|
Sets the minute according to Universal Time.
|
Date.setUTCMonth()
|
Sets the month according to Universal Time.
|
Date.setUTCSeconds()
|
Sets the second according to Universal Time.
|
Date.setYear()
|
Sets the year. Two-Digit numbers are added to 1900 and used as the year; four-digit numbers are used as written.
|
Date.toString()
|
Converts the date object to a string in readable format.
|