E = eomday(Y,M) returns
the last day of the specified month M in the year Y.
The output E is a numeric array. The last day of any month is an integer
between 28 and 31, inclusive.
Example: E = eomday(2020,12) specifies 2020 as the year
number.
Example: E = eomday(2000:2020,12) specifies an array of year
numbers.
Month number, specified as an integer array where each element is an integer between
1 and 12, inclusive. The month numbers correspond to the months listed in the
table.
Month Number
Month Name
1
January
2
February
3
March
4
April
5
May
6
June
7
July
8
August
9
September
10
October
11
November
12
December
Example: E = eomday(2020,12) specifies 12 as the month
number.
Example: E = eomday(2020,1:6) specifies an array of month
numbers.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.