JavaScript Reference/Javascript Methods/getUTCSeconds
"getUTCSeconds()" Example
<html>
<body>
<button onclick="var myDate = new Date();
alert(myDate.getUTCSeconds());">get UTC seconds</button>
</body>
</html>
"getUTCSeconds()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Date |
+----------------+--------------------------------------------------------------+
"getUTCSeconds()" Syntax, Parameters and Note
Note:
Returns the seconds based on UTC time.
Return value: 0 to 59.
Syntax:
dateName.getUTCSeconds()