getMilliseconds()
Top  Previous  Next


SWiSH Player Support
SWF5 or later - Supported Internally

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