Sets the date and time value in the Date object.
Required. Any Date object.
Required. A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT.
If milliseconds is negative, it indicates a date before 1970. The range of available dates is approximately 285,616 years from either side of 1970.
Setting the date and time with the setTime method is independent of the time zone.
The following example illustrates the use of the setTime method.
Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Also supported in Store apps (Windows 8 and Windows Phone 8.1). See Version Information.