Date.getDate()
Availability
Flash Player 5.
Usage
my_date.getDate() : Number
Parameters
None.
Returns
An integer.
Description
Method; returns the day of the month (an integer from 1 to 31) of the specified Date object
according to local time. Local time is determined by the operating system on which Flash Player
is running.
Example
The following example creates a new Date object and concatenates the returned values of
Date.getMonth()
var today_date:Date = new Date();
var date_str:String = (today_date.getDate()+"/"+(today_date.getMonth()+1)+"/
"+today_date.getFullYear());
trace(date_str); // displays current date in United States date format
Date.getDay()
Availability
Flash Player 5.
Usage
my_date.getDay() : Number
Parameters
None.
Returns
An integer representing the day of the week.
Description
Method; returns the day of the week (0 for Sunday, 1 for Monday, and so on) of the specified
Date object according to local time. Local time is determined by the operating system on which
Flash Player is running.
,
, and
Date.getDate()
Date.getFullYear():
Date.getDay()
263
Need help?
Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?