| Financial Toolbox | Search  Help Desk |
| year | Examples See Also |
Syntax
y = year(d)
Description
y = year(d)
returns the year of a serial date number or a date string d.
Example
y = year(728798.776)or
y = year('19-may-1995')
returns
y =
1995
See Also
datevec, day, month, yeardays