Link Search Menu Expand Document

Date.GetFullYear Method

Explanation Returns the year of a date in local time.
Call format var v = d.GetFullYear ()
Return value Numerical value indicating the year of the Christian era
Argument None
Exception None
Example of use
var d = new Date ();
print (d.getFullYear (), "¥ n");
Related item