Sets the UTC date's hours. Setting the hours to a number greater than 23 also increments the day of the month.
var myDate = new Date();
// ww w . j a v a2 s. c o m
myDate.setUTCHours(1);
console.log(myDate.toString());
The code above generates the following result.