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
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|