Pages

Javascript Date getMilliseconds() Method

Description:

Javascript date getMilliseconds() method returns the milliseconds in the specified date according to local time. The value returned by getMilliseconds is a number between 0 and 999.

Syntax:

Date.getMilliseconds()
Here is the detail of parameters:
  • NA

Return Value:

Returns the milliseconds in the specified date according to local time.

Example:

<html>
<head>
<title>JavaScript getMilliseconds Method</title>
</head>
<body>
<script type="text/javascript">
   var dt = new Date( );
   document.write("getMilliseconds() : " + dt.getMilliseconds() ); 
</script>
</body>
</html>
This will produce following result:
getMilliseconds() : 578 
 
+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 
 
   

No comments:

Flag Counter
| Copyright © 2013 Remote Tutor