Easy Tutorial
❮ Prop Style Borderleft Jsref Prototype Num ❯

JavaScript getUTCMinutes() Method

JavaScript Date Object

Example

n Output result:


Definition and Usage

The getUTCMinutes() method returns the minutes field (0-59) of a time according to universal time (UTC).

Coordinated Universal Time (UTC) is a time standard based on atomic time, aiming to be as close as possible to mean solar time.

Note: Coordinated Universal Time, also known as Universal Coordinated Time, World Standard Time, and International Coordinated Time, is abbreviated as UTC.

Caution: UTC time is the same as GMT (Greenwich Mean Time).


Browser Support

All major browsers support the getUTCMinutes() method.


Syntax

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:

n Output result:

Display Current UTC Time


JavaScript Date Object

❮ Prop Style Borderleft Jsref Prototype Num ❯