Javascript Methods JavaScript Reference

Note:
Sets the time by supplying milliseconds elapsed since January 1, 1970.
    
Syntax:
    
dateName.setTime(param1)
Parameters:
    param1   Required; the number of milliseconds.