setTime

Sets the date and time value in the Date object.

Parameters

time

A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT.

MDN Reference