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.
Its syntax is as follows −
Date.getUTCMinutes()
Returns the minutes in the specified date according to universal time.
Try the following example.
<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>
getUTCMinutes() : 46