| Financial Toolbox | Search  Help Desk |
| month | Examples See Also |
Syntax
[n, m] = month(d)
Description
[n, m] = month(d)
returns the month in numeric n and string form m given a serial date number or a date string d.
Example
[n, m] = month(728647)or
[n, m] = month('19-dec-1994')
returns
n =
12
m =
Dec
See Also
datevec, day, year