Language Reference |
See Also Applies To
Modifies the milliseconds value stored in the Date object according to local time.
The numMilli argument is a numeric value equal to the millisecond value.
All set methods taking optional arguments use the value returned from corresponding get methods, if you do not specify an optional argument. For example, if the numMonth argument is optional, but not specified, JScript uses the value returned from the getMonth method.
To set the milliseconds value according to Universal Coordinated Time (UTC), use the setUTCMilliseconds method.
If the value of numMilli is greater than 999 or is a negative number, the stored number of seconds (and minutes, hours, and so forth if necessary) is incremented an appropriate amount.
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js118.htm, 2KB, , updated: 1997/9/30 04:44, local time: 2018/8/16 05:19,
|©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/techref/inet/iis/jscript/htm/js118.htm"> setMilliseconds Method</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!