Description
The Year() function returns a number that represents the year.
This function has the form:
Year(date)
Parameter | Description |
---|---|
date | (required) Any expression that can represent a date |
Examples
The following example shows the basic use of this function:
Msgbox(Year("2010-02-16"))
This produces the following result:
2010
Miscellaneous Information
Supported in Version: | 1.0 |
---|