contents   index   previous   next



Date setUTCFullYear()

syntax:

date.setUTCFullYear(year[, month[, date]])

where:

year - a four digit year.

 

month - a month in a year.

 

day - a day in a month.

 

return:

number - time in milliseconds as set.

 

description:

This method sets the UTC year of a Date object to the parameter year. The parameter year is expressed with four digits.

 

The parameter month is the same as for Date setUTCMonth().

 

The parameter day is the same as for Date setUTCDate().

 

 

 


Date setUTCHours()