GetDateYear
Returns a four-digit numeric value that is the year of the current date.
Command
"GetDateYear"
Availability
Flash Lite 1.1.
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
GetDateMonth
GetDevice
Sets a parameter that identifies the device on which Flash Lite is running. This identifier is
typically the model name.
Command
"GetDevice"
Availability
Flash Lite 1.1.
130
Flash Lite Specific Language Elements
Parameters
None.
,
GetDateWeekday
Parameters
String to receive the identifier of the
device
device. It can be either the name of a variable or
a string value that contains the name of
a variable.
Value returned
-1: Not supported.
0 to 9999: The current year.
Value returned
-1: Not supported.
0: Supported.
Need help?
Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?