Team LiB   Previous Section   Next Section
Date.setMilliseconds( ) set the milliseconds field of a Date

Availability

JavaScript 1.2; JScript 3.0; ECMAScript v1

Synopsis

date.setMilliseconds(millis)

Arguments

millis

The milliseconds field, expressed in local time, to be set in date. This argument should be an integer between 0 and 999.

Returns

The millisecond representation of the adjusted date.

    Team LiB   Previous Section   Next Section