This function returns the current year.
Return value
The return value is an Integer.
Example
If the current year is 1999, the return value of the following statement is 1999.
Year()
This function extracts the year portion of a specified date.
Parameter
a - A Data value.
Return value
The return value is an Integer.
Example
Suppose the date is Jan.15,1995. The return value of the following statement is 1995.
Year(ToDate(1995, 1, 15))
This function extracts the year portion of a specified TimeStamp value.
Parameter
a - A TimeStamp value.
Return value
The return value is an Integer.
Example
Suppose the timestamp is July 15,1988 10:40:50. The return value of the following statement is 1988.
Year(ToDateTime(1988, 7, 15, 10, 40, 50))