Previous PageNext Page

7.11.25 setMilliseconds Method

Modifies the milliseconds value stored in the Date object according to local time.
 

Syntax

objDate.setMilliseconds(numMilli)

Arguments

objDate
The name of a Date object. Required.
numMilli
A numeric value equal to the millisecond value.

Remarks

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.
 

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page