setTime

fun setTime(time: Int53): Int53(source)

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