DayMonth = day(___,F)
returns the day of the month, given a serial date number, or character vector
and an optional argument, F, defining the date format for
Date.
Date — Date to determine day of month serial date number | date character vector | cell array of date character vectors
Date to determine day of month, specified as a serial date number,
date character vector, or cell array of date character vectors.
All the date character vectors in Date must
have same date character vector format. For more information on supported
date character vector formats, see datestr.
Example: DayMonth = day({'2/28/00','3/10/06'})
Data Types: single | double | char | cell
F — Country-specific date format character vector designating date format
Country-specific date format, specified as a character vector
to designate the date format for the input argument Date.
For more information on supported date character vector format symbols,
see datestr. Note, formats
with 'Q' are not accepted.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.