JavaScript getUTCMinutes()Method
Definition and Usage
The getUTCMinutes() method returns the minutes field (0~59) of a time according to Coordinated Universal Time (UTC).
Coordinated Universal Time (UTC) is a time measurement system based on the length of an atomic second, which is kept as close as possible to Universal Time.
Tip:Coordinated Universal Time, also known as Universal Time Coordinated, World Standard Time, International Coordinated Time, abbreviated as UTC (Universal Coordinated Time).
Note:UTC time is the same as GMT (Greenwich) time.
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the getUTCMinutes() method
Syntax
Date.getUTCMinutes()
Return Value
| Type | Description |
|---|---|
| Number | The value is an integer between 0 and 59. |
Technical Details
| JavaScript Version: | 1.3 |
|---|
More Examples
Example
Here, we will extract the UTC minutes from a specific date and time:
var d = new Date("July 21, 1983 01:15:00");
var n = d.getUTCMinutes();
var n = d.getUTCMinutes();
nOutput:
Try it Yourself »
Display the current UTC time
How to use getUTCHours(), getUTCMinutes() and getUTCSeconds() to display the current UTC time.
Other Extensions
JavaScript Date Object