Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Specific Language Elements > fscommand2() > GetDateMonth | |||
Flash Lite 1.1.
Returns the month of the current date as a numeric value (without a leading 0).
|
Command |
Parameters |
Value returned |
|---|---|---|
|
|
None. |
-1: Not supported. 1 to 12: The number of the current 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;
GetDateDay, GetDateWeekday, GetDateYear
|
|
|
|