JavaScript getUTCMinutes() | Get the UTC Minutes

The JavaScript getUTCMinutes() method is used to get the minutes (0-59) of the UTC date. UTC stands for Universal Time Coordinated which is same as Greenwich Mean Time (GMT). For example:

HTML with JavaScript Code
<!DOCTYPE html>
   <p id="xyz"></p>

      const d = new Date();
      let minutes = d.getUTCMinutes();
      document.getElementById("xyz").innerHTML = minutes;


JavaScript getUTCMinutes() Syntax

The syntax of getUTCMinutes() method in JavaScript is:


where x must be an object of the Date() constructor.

The getUTCMinutes() method returns a number from 0 to 59, which will be the minutes of the UTC time.

JavaScript Online Test

« Previous Tutorial Next Tutorial »

Follow/Like Us on Facebook

Subscribe Us on YouTube