GetDateMonth

Availability

Flash Lite 1.1.

Description

Returns the month of the current date as a numeric value (without a leading 0).

Command

Parameters

Value returned

"GetDateMonth"

None.

-1: Not supported.

1 to 12: The number of the current month.

Example

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;

See also

GetDateDay, GetDateWeekday, GetDateYear