490
ActionScript classes
getUTCMilliseconds (Date.getUTCMilliseconds
method)
public getUTCMilliseconds() : Number
Returns the milliseconds (an integer from 0 to 999) of the specified Date object, according to
universal time.
Availability:
ActionScript 1.0; Flash Player 5
Returns
Number
- An integer.
Example
The following example creates a new Date object and uses
getUTCMilliseconds()
to return
the milliseconds value from the Date object.
var today_date:Date = new Date();
trace(today_date.getUTCMilliseconds());
getUTCMinutes (Date.getUTCMinutes method)
public getUTCMinutes() : Number
Returns the minutes (an integer from 0 to 59) of the specified Date object, according to
universal time.
Availability:
ActionScript 1.0; Flash Player 5
Returns
Number
- An integer.
Example
The following example creates a new Date object and uses
getUTCMinutes()
to return the
minutes value from the Date object:
var today_date:Date = new Date();
trace(today_date.getUTCMinutes());
getUTCMonth (Date.getUTCMonth method)
public getUTCMonth() : Number
Returns the month (0 [January] to 11 [December]) of the specified Date object, according to
universal time.
Availability:
ActionScript 1.0; Flash Player 5
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...