From http://www.w3schools.com (Copyright Refsnes Data)
Complete VBScript Reference
The Year function returns a number that represents the year.
| Year(date) |
| Parameter | Description |
|---|---|
| date | Required. Any expression that can represent a date |
|
document.write(Date & "<br />") document.write(Year(Date)) Output: 1/15/2002 2002 |
Complete VBScript Reference
From http://www.w3schools.com (Copyright Refsnes Data)