Latest web development tutorials

JavaScript getUTCMinutes () method

Date Object Reference JavaScript Date Object

Examples

var d = new Date();
var n = d.getUTCMinutes();

n output:


try it"


Definition and Usage

getUTCMinutes () method according to Universal Time (UTC) Returns the minutes field time (0 to 59).

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

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support getUTCMinutes () method


grammar

Date.getUTCMinutes()

return value

Types of description
Number The value is an integer from 0 to 59.

technical details

JavaScript version: 1.3


More examples

Examples

Here, we extract the UTC minute specific date and time will be:

var d = new Date("July 21, 1983 01:15:00");
var n = d.getUTCMinutes();

n output:


try it"

Examples s

Displays the current UTC time
How getUTCHours (), getUTCMinutes () and getUTCSeconds () to display the current UTC time.


Date Object Reference JavaScript Date Object