eomonth
Last day of the month some months from the start date.
Syntax
Section titled “Syntax”v = eomonth(start_date, months)Description
Section titled “Description”Returns the last day of the month months later (or earlier) than start_date. Useful for billing, reporting, and end-of-month deadline calculations.
Example
Section titled “Example”eomonth(date(2026, 1, 15), 0) % 2026-01-31See also
Section titled “See also”edate— Date offset by a number of months.