The Year function returns the year of the specified date as a Long.
Syntax | ||||
Year(Expr) | ||||
Return value | ||||
Type |
Description | |||
Long |
The year of the date. | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Expr |
String |
ByVal |
A date |