JavaScript getUTCMilliseconds () method
Examples
According to Universal Time (UTC) Returns the milliseconds (0 to 999):
var n = d.getUTCMilliseconds();
n output:
try it"
Definition and Usage
getUTCMilliseconds () method according to Universal Time (UTC) Returns the milliseconds (0 to 999).
Coordinated Universal Time (UTC) in seconds when the atomic length based on the time metering system as close as possible in a time when the world.
Tip: Coordinated Universal Time, also known as the unified world time, Universal Time, Coordinated Universal Time, abbreviated UTC (Universal Coordinated Time).
Note UTC time is the GMT (Greenwich Mean) time.
Browser Support
All major browsers support getUTCMilliseconds () method
grammar
return value
Types of | description |
---|---|
Number | The value is an integer from 0 to 999. |
technical details
JavaScript version: | 1.3 |
---|
More examples
Examples
Here we will be a specific date and time in UTC milliseconds extract:
var n = d.getUTCMilliseconds();
n output:
try it"
Displays the current UTC time
How getUTCHours (), getUTCMinutes () and getUTCSeconds () to display the current UTC time.