Date.getUTCMilliseconds

Returns the milliseconds in the specified date according to universal time.
Method of Date

Syntax

getUTCMilliSeconds()

Parameters

None

Description

The value returned by getUTCMilliseconds is an integer between 0 and 999.

Examples

The following example assigns the milliseconds portion of the current time to the variable ms.

See also

Date.getMilliseconds, Date.setUTCMilliseconds

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.