| Financial Toolbox™ | ![]() |
[MonthNum, MonthString] = month(Date)
[MonthNum, MonthString] = month(Date) returns the month in numeric and string form given a serial date number or a date string.
[MonthNum, MonthString] = month(730368)
or
[MonthNum, MonthString] = month('05-Sep-1999')
returns
MonthNum =
9
MonthString =
Sep
![]() | mirr | months | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |