Financial Toolbox
  Go to function:
    Search    Help Desk 
year    Examples   See Also

Year of date.

Syntax

Description

y = year(d) returns the year of a serial date number or a date string d.

Example

or

returns

See Also

datevec, day, month, yeardays

[ Previous | Help Desk | Next ]