Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Specific Language Elements > fscommand2() > GetTimeSeconds | |||
Flash Lite 1.1.
Returns the second of the current time of day. It is a numeric value (without a leading 0).
|
Command |
Parameters |
Value returned |
|---|---|---|
|
|
None. |
-1: Not supported. 0 to 59: The current second. |
The following example sets the seconds variable to the seconds portion of the current time of day, or to -1:
seconds = fscommand2("GetTimeSeconds");
trace (seconds); // output: 41
GetTimeHours, GetTimeMinutes, GetTimeZoneOffset
|
|
|
|