Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes


eomday

Return last day of month

Syntax

E = eomday(Y, M)

Arguments

Y

a vector/matrix containing integers values.

M

a vector/matrix containing integers values.

E

a vector/matrix containing integers values.

Description

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

Y and M must have the same sizes.

Examples

eomday(2006,3);

See also

  • datenum — Convert to serial date number
  • datevec — Date components
  • weekday — Day's index and name in its week for given dates
Report an issue
<< datevec Time and Date etime >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Nov 07 14:58:56 CET 2022