GetDateDay

Availability

Flash Lite 1.1.

Description

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

"GetDateDay"

None.

-1: Not supported.

1 to 31: The day of the 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

GetDateMonth, GetDateWeekday, GetDateYear