Description:
Javascript date setMilliseconds() method sets the milliseconds for a specified date according to local time.Syntax:
Date.setMilliseconds(millisecondsValue) |
Here is the detail of parameters:
- millisecondsValue : A number between 0 and 999, representing the milliseconds.
Return Value:
NAExample:
<html> <head> <title>JavaScript setMilliseconds Method</title> </head> <body> <script type="text/javascript"> var dt = new Date( "Aug 28, 2008 23:30:00" ); dt.setMilliseconds( 1010 ); document.write( dt ); </script> </body> </html> |
Thu Aug 28 23:30:01 UTC+0530 2008
+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: