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).

Command

Parameters

Value returned

"GetTimeSeconds"

None.

-1: Not supported.

0 to 59: The current second.

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