Microsoft® JScript
setTime Method

See Also

Language Reference 

Description

Sets the date and time value directly in the Date object.

Syntax

dateObj.setTime( milliseconds )

The milliseconds argument is an integer value representing the number of elapsed seconds since midnight, January 1, 1970 GMT.

Remarks

Setting the date and time in this fashion is independant of timezone.


© 1996 by Microsoft Corporation.

Casa de Bender