Financial Toolbox    
year

Year of date

Syntax

Description
Year = year(Date) returns the year of a serial date number or a date string.

Examples

or

returns

See Also
datevec, day, month, yeardays


 xirr yeardays