contents   index   previous   next



Date setUTCHours()

syntax:

Date.setUTCHours(hour[, minute[, second[,

                 millisecond]]])

where:

hour - an hour in a day.

 

minute - a minute in an hour.

 

second - a second in a minute.

 

millisecond - a millisecond in a second.

 

return:

number - time in milliseconds as set.

 

description:

This method sets the UTC hour, as a number from 0 to 23, of a Date object to the parameter hours. Midnight is 0, and 11 p.m. is 23.

 

The parameter minute is the same as for Date setUTCMinutes().

 

The parameter second is the same as for Date setUTCSeconds().

 

The parameter milliseconds is the same as for Date setUTCMilliseconds().

 

 

 


Date setUTCMilliseconds()