Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Specific Language Elements > fscommand2() > GetDateDay | |||
Flash Lite 1.1.
Returns the day of the current date. It is a numeric value (without a leading 0). Valid days are 1 through 31.
|
Command |
Parameters |
Value returned |
|---|---|---|
|
|
None. |
-1: Not supported. 1 to 31: The day of the month. |
The following example collects the date information and constructs a complete date string:
today = fscommand2("GetDateDay");
weekday = fscommand2("GetDateWeekday");
thisMonth = fscommand2("GetDateMonth");
thisYear = fscommand2("GetDateYear");
when = weekday add ", " add ThisMonth add " " add today add ", " add thisYear;
GetDateMonth, GetDateWeekday, GetDateYear
|
|
|
|