Microsoft® JScript setMilliseconds Method |
Language Reference Version 3 |
Modifies the milliseconds value stored in the Date object according to local time.
objDate.setMilliseconds(numMilli)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/language/jscript/js118.htm, 2KB, , updated: 1997/9/30 02:44, local time: 2024/11/29 17:35,
18.188.227.108:LOG IN
|
©2024 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://ecomorder.com/Techref/language/jscript/js118.htm"> setMilliseconds Method</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.