Name

eomday — Return last day of month

Calling Sequence

E = eomday(Y, M)

Description

E = eomday(Y, M) returns the last day of the year and month given by corresponding elements of arrays Y and M.

Examples

 
eomday(2006,3);
 

See Also

datenum , datevec , weekday

Authors

P.M