eomday

Returns last day of month.

📝 Syntax

  • E = eomday(Y, M)

📥 Input argument

  • Y - year: real.

  • M - month: real.

📤 Output argument

  • E - last day of month: real.

📄 Description

E = eomday(Y, M) returns the last day of the month M for the year Y.

💡 Example

eomday(1900, 1:12)

🔗 See also

datenum, weekday.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?