Year( serial# )
Returns an integer representing a year between 1930 and 2029, inclusive. The returned integer represents the year of the serial# parameter.
The serial# parameter is a string that represents a date.
If serial# is a Null, this function returns a Null.
Sub Main MyDate = "11/11/07" x = Year(MyDate) print x End Sub