Get UTC Full Year Method
The Get UTC Full Year year method returns the UTC year of a date object as a four digit number.
Format
dateVar.getUTCFullYear()
The following example displays 2005, the year portion of the date, followed by the GMT equivalent, which can include the same value:
var aDate = new Date("January 1, 2005 13:24:35");
TheApplication().RaiseErrorText("Local year is " + aDate.getYear() +
"\nGMT year is " + aDate.getUTCFullYear());