Зміст

# EOMONTH

Returns the date of the last day of a month which falls months away from the start date.

Ця функція є частиною стандарту Open Document Format for Office Applications (OpenDocument) версії 1.2. (ISO/IEC 26300:2-2015)

### Syntax

EOMONTH(StartDate; Months)

StartDate is a date (the starting point of the calculation).

Months is the number of months before (negative) or after (positive) the start date.

### Приклади

What is the last day of the month that falls 6 months after September 14 2001?

=EOMONTH(DATE(2001;9;14);6) returns the serial number 37346. Formatted as a date, this is 2002-03-31.

=EOMONTH("2001-09-14";6) works as well. If you specify the date directly, we recommend using the standard ISO 8601 format because this should be independent of your selected locale settings.

Пов'язані теми

EOMONTH wiki page.

Date & Time Functions

DATE

DATEDIF

DATEVALUE

DAY

DAYS

DAYS360

DAYSINMONTH

DAYSINYEAR

EASTERSUNDAY

EDATE

EOMONTH

HOUR

ISLEAPYEAR

ISOWEEKNUM

MINUTE

MONTH

MONTHS

NETWORKDAYS

NETWORKDAYS.INTL

NOW

SECOND

TIME

TIMEVALUE

TODAY

WEEKDAY

WEEKNUM

WEEKNUM_EXCEL2003

WEEKNUM_OOO

WEEKS

WEEKSINYEAR

WORKDAY

WORKDAY.INTL

YEAR

YEARFRAC

YEARS