getMilliseconds()
Top  Previous  Next


Syntax
DateObj.getMilliseconds()

Arguments
none

Returns
an integer

Description
Method; returns an integer (from 0 to 999) representing the current millisecond of the Date Object according to Local Time.

Sample

onFrame (1) {
theDate = new Date();
trace(theDate.getMilliseconds());
}

// returns a number between 0 and 999 in the debug window

Description
Method; returns the milliseconds (an integer from 0 to 999) of the specified Date object, according to local time. Local time is determined by the operating system on which the Flash Player is running.