Month of date
[
returns the month of
date given a serial date number or a date character vector.MonthNum
,MonthString
]
= month(Date
)
[
returns
the month of date given a serial date number or a date character vector, MonthNum
,MonthString
]
= month(___,F
)Date
,
using format defined by the optional input F
. Date
can
be a character array where each row corresponds to one date character
vector, or a one-dimensional cell array of character vectors. All
the character vectors in Date
must have the same
format F
. F
must designate
a supported date format symbol. For more information on supported
date formats, see datestr
.