Link Search Menu Expand Document

Date.SetUTCFullYear Method

 
Explanation Set the year part in UTC time.
The omitted parameter items are not changed.
Call format d.SetUTCFullYear (value [, mon [, date ]])
Return value None
Arguments integer value Specify the year numerically.
integer mon Specify the month as a month number with January as 0.
integer date Specify the day numerically.
Exception None
Example of use
var d = new Date ();
print (d, "¥ n");
d.SetUTCFullYear (2000);
print (d, "¥ n");
Related item