Contents

# EOMONTH

傳回開始日期數個月後某月份的最後一天之日期。

### 語法

EOMONTH(StartDate; Months)

StartDate 是指日期 (計算的起點)。

Months 是指開始日期之前 (負值) 或之後 (正值) 的月數。

### 範例

2001 年 9 月 14 日後第 6 個月的最後一天是哪天？

=EOMONTH(DATE(2001;9;14);6) 會傳回序號 37346。格式化為日期，即為 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.

#### Technical information

This function is part of the Open Document Format for Office Applications (OpenDocument) standard Version 1.2. (ISO/IEC 26300:2-2015)

相關主題

EOMONTH wiki page.

Date & Time Functions

DATE

[text/scalc/01/func_datedif.xhp#datedif not found].

DATEVALUE

DAY

DAYS

DAYS360

DAYSINMONTH

DAYSINYEAR

EASTERSUNDAY

EDATE

EOMONTH

HOUR

ISLEAPYEAR

[text/scalc/01/func_isoweeknum.xhp#isoweeknum not found].

MINUTE

MONTH

MONTHS

NETWORKDAYS

NETWORKDAYS.INTL

NOW

SECOND

TIME

TIMEVALUE

TODAY

WEEKDAY

WEEKNUM

WEEKNUM_ADD

[text/scalc/01/func_weeknum_ooo.xhp#weeknum_ooo not found].

WEEKS

WEEKSINYEAR

WORKDAY

WORKDAY.INTL

YEAR

YEARFRAC

YEARS

Please support us!