| Financial Toolbox™ | ![]() |
Year = year(Date)
Year = year(Date) returns the year of a serial date number or a date string.
Year = year(731798.776)
or
Year = year('05-Aug-2003')
returns
Year =
2003
![]() | xirr | yeardays | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |