Date.getUTCSeconds() : getUTCSeconds « Date « JavaScript Tutorial






The getUTCSeconds() method returns the seconds portion of the Date object, converted to universal time and expressed as an integer from 0 to 59.

<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
<!--
dateVar = new Date();
alert(dateVar.getUTCSeconds());
//  -->
</script>
</head>
<body>

</body>
</html>








12.22.getUTCSeconds
12.22.1.Date.getUTCSeconds()