ES6 - getUTCMinutes() Method
JavaScript date getUTCMinutes() method returns the minutes in the specified date according to universal time. The value returned by getUTCMinutes is an integer between 0 and 59.
Syntax
Date.getUTCMinutes ()
Return Value
Returns the minutes in the specified date according to universal time.
Example
var dt = new Date( "December 25, 1995 23:15:20" );
console.log("getUTCMinutes() : " + dt.getUTCMinutes());
Output
getUTCMinutes() : 45
Advertisements