VBScript Year Function
Complete VBScript Reference
The Year function returns a number that represents the year.
Syntax
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
|
Complete VBScript Reference
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|