Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Specific Language Elements > fscommand2() > GetLocaleShortDate | |||
Flash Lite 1.1.
Sets a parameter to a string that represents the current date, in abbreviated form, formatted according to the currently defined locale.
|
Command |
Parameters |
Value returned |
|---|---|---|
|
|
It can be either the name of a variable or a string value that contains the name of a variable. The value returned in |
-1: Not supported. 0: Supported. |
The following example attempts to get the short form of the current date into the shortDate variable. It also sets the value of status to report whether it was able to do so.
status = fscommand2("GetLocaleShortDate", "shortdate");
trace (shortdate); // output: 06/14/05
GetLocaleLongDate, GetLocaleTime
|
|
|
|