contents   index   previous   next



Date setTime()

syntax:

date.setTime(millisecond)

where:

millisecond - the time in milliseconds.

 

return:

number - time in milliseconds as set.

 

description:

This method sets a Date object to the date and time specified by the parameter milliseconds which is the number of milliseconds from midnight on January 1, 1970, GMT.

 

 


Date setUTCDate()