Date getUTCMinutes() Method


Advertisements


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

Its syntax is as follows −

Date.getUTCMinutes()

Return Value

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

Example

Try the following example.

Live Demo
<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>

Output


javascript_date_object.htm

Advertisements