Skip to content

edate

Date offset by a number of months.

v = edate(start_date, month)

Returns the serial date month months after (or before, if negative) start_date. Day-of-month is preserved when possible; clamped to the end of the month otherwise.

edate(date(2026, 1, 31), 1) % serial for 2026-02-28 (clamped)
  • eomonth — Last day of the month some months from the start date.
  • datedif — Difference between two dates in a chosen unit.