Skip to content

eomonth

Last day of the month some months from the start date.

v = eomonth(start_date, months)

Returns the last day of the month months later (or earlier) than start_date. Useful for billing, reporting, and end-of-month deadline calculations.

eomonth(date(2026, 1, 15), 0) % 2026-01-31
  • edate — Date offset by a number of months.