Javascript Reference
Categories: Date

javascript Date setUTCFullYear( )

@March 15, 2008, 1:22 a.m.
setUTCFullYear( )Firefox/Netscape/NN 4 IE 4 ECMA 1  

setUTCFullYear(yearInt)

  

Sets all digits of the year for an instance of the Date object but in the UTC time stored internally by the browser.

 
Parameters
 
yearInt

Integer. Navigator 4 allows values no lower than zero. Internet Explorer and NN 6 allow negative year values.

 
Returned Value

New UTC date in milliseconds.


Powered by Linode.