fscommand2()
147
GetTimeHours
Availability
Flash Lite 1.1.
Description
Returns the hour of the current time of day, based on a 24-hour clock. It is a numeric value
(without a leading 0).
Example
The following example sets the
hour
variable to the hour portion of the current time of day,
or to -1:
hour = fscommand2("GetTimeHours");
trace (hour);
// output: 14
See also
GetTimeMinutes
,
GetTimeSeconds
,
GetTimeZoneOffset
GetTimeMinutes
Availability
Flash Lite 1.1.
Description
Returns the minute of the current time of day. It is a numeric value (without a leading 0).
Command
Parameters
Value returned
"GetTimeHours"
None.
-1: Not supported.
0 to 23: The current hour.
Command
Parameters
Value returned
"GetTimeMinutes"
None.
-1: Not supported.
0 to 59: The current minute.
Summary of Contents for FLASH 8-FLASH
Page 1: ...Flash Lite 1 x ActionScript Language Reference...
Page 6: ...6 Contents...
Page 46: ...46 Flash Lite Global Functions...
Page 62: ...62 Flash Lite Properties...
Page 76: ...76 Flash Lite Statements...
Page 110: ...110 Flash Lite Operators...
Page 162: ...162 Index...