Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Date Object setUTCMilliseconds Method

Modifies the milliseconds value stored in the Date object according to Universal Coordinated Time (UTC).

Syntax: JScript Date Object setUTCMilliseconds Method

objDate.setUTCMilliseconds(numMilli)

Arguments: JScript Date Object setUTCMilliseconds Method

objDate

The name of a Date object. Required.

numMilli

A numeric value equal to the milliseconds value.

Remarks: JScript Date Object setUTCMilliseconds Method

To set the milliseconds according to local time, use the setMilliseconds 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 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.