148 Flash Lite Specific Language Elements
Example
The following example sets the minutes variable to the minute portion of the current time of
day, or to -1:
minutes = fscommand2("GetTimeMinutes");
trace (minutes); // output: 38
See also
GetTimeHours, GetTimeSeconds, GetTimeZoneOffset
GetTimeSeconds
Availability
Flash Lite 1.1.
Description
Returns the second of the current time of day. It is a numeric value (without a leading 0).
Example
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
See also
GetTimeHours, GetTimeMinutes, GetTimeZoneOffset
Command Parameters Value returned
"GetTimeSeconds"
None. -1: Not supported.
0 to 59: The current second.