Microsoft® JScript setTime Method |
Language Reference |
Sets the date and time value directly in the Date object.
dateObj.setTime( milliseconds )
The milliseconds argument is an integer value representing the number of elapsed seconds since midnight, January 1, 1970 GMT.
Setting the date and time in this fashion is independant of timezone.