Copyright © tutorialspoint.com

# Javascript Date getUTCMinutes() Method

## Description:

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()

Here is the detail of parameters:

- NA

## Return Value:

Returns the minutes in the specified date according to universal time.

## Example:

The following example prints the minutes portion of the current time to the variable hrs.

    <html>
    <head>
    <title>JavaScript getUTCMinutes Method</title>
    </head>
    <body>
    <script type="text/javascript">
       var dt = new Date();
       document.write("getUTCMinutes() : " + dt.getUTCMinutes() );
    </script>
    </body>
    </html>

This will produce following result for Indian time zone:

    getUTCMinutes() : 32

To understand it in better way you can Try it yourself.

Copyright © tutorialspoint.com