Date.setTime

Number setTime (Number ms)

Parameters

ms An integer indicating the number of milliseconds between the date set and midnight, January 1, 1970.

Description

Sets the date of a specified Date object in milliseconds since midnight, January 1, 1970.

Returns the value of ms.