Prev Demo
JavaScript
>
Getutcminutes() Method
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <h1>getUTCMinutes() Method</h1> <p>Click the below button to return the Minutes as per the UTC.</p> <input type="button" value="Click" onclick="myDate()" /> <p id="myId"></p> <script> function myDate() { var a = new Date(); var r = a.getUTCMinutes(); document.getElementById("myId").innerHTML = r; } </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output