Flash Lite 2.x and 3.0 ActionScript Language Reference

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.

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());