Description:
Javascript date getUTCMilliseconds() method returns the milliseconds in the specified date according to universal time. The value returned by getUTCMilliseconds is an integer between 0 and 999.Syntax:
Date.getUTCMilliseconds() |
- NA
Return Value:
Returns the milliseconds in the specified date according to universal time.Example:
The following example prints the milliseconds portion of the current time to the variable hrs.<html>
<head>
<title>JavaScript getUTCMilliseconds Method</title>
</head>
<body>
<script type="text/javascript">
var dt = new Date();
document.write("getUTCMilliseconds() : " + dt.getUTCMilliseconds() );
</script>
</body>
</html>
|
getUTCMilliseconds() : 453
+JavaScript +JavaScript Frameworks Links +Javascript Development +JavaScript's and More, Software and Marketing +JavascriptU +JavaScriptOn +Javascript Problems +JavaScriptOn +javaScript is a creek in West Virginia in the summe +enJineS +JavascriptU +Javascript Tutor








No comments: