From http://www.w3schools.com (Copyright Refsnes Data)

VBScript Year Function


VBScript Reference Complete VBScript Reference

The Year function returns a number that represents the year.

Syntax

Year(date)

Parameter Description
date Required. Any expression that can represent a date

Example 1

document.write(Date & "<br />")
document.write(Year(Date))

Output:

1/15/2002
2002


VBScript Reference Complete VBScript Reference

From http://www.w3schools.com (Copyright Refsnes Data)