User:Syranzi/Documentation/How Tos/Calc: EOMONTH function

From Apache OpenOffice Wiki
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

EOMONTH

EOMONTH

Returns the date of the last day of a month.

月の最終日の日付を返します。

This function is only available if the Analysis AddIn is installed.

この機能は、Analysis AddIn (分析アドイン) がインストールされている場合のみ使用可能です。

Syntax:

構文:

EOMONTH(startdate; addmonths)

addmonths is a number of months to be added to the startdate (given as text or a date-time serial number), to give a new date. For this new date, EOMONTH returns the date of the last day of the month, as a date-time serial number.

EOMONTH(startdate; addmonths)<= EOMONTH(開始日付列; 追加月列)

「追加月列」は月の数字で、(文字、または日付・時刻のシリアル値として) 「開始日付列」に追加されます。この新しい日付に対して、 EOMONTHは該当する月の最終日の日付を、日付・時刻のシリアル値として返します。
addmonths may be positive (in the future), zero or negative (in the past).
「追加月列」としては、正数 (未来)、0、または負数 (過去) を入力できます。

Example:

例:

EOMONTH("2008-02-14"; 0)

returns 39507, which may be formatted as 29Feb08. 2008 is a leap year.

EOMONTH("2008-02-14"; 0)

「39507」と返します。これは、「08 年 2 月 29 日」と読めるよう設定しておけます。2008 年は、うるう年です。

EOMONTH(A1; 2)

where cell A1 contains the date 16Dec07, again returns 39507, which may be formatted as 29Feb08.

EOMONTH(A1; 2)

セル A1 が日付「07 年 12 月 16 日」を含む場合、これも「39507」を返します。これは、「08 年 2 月 29 日」と読めるよう設定しておけます。



{{#switch:EN

| RU = Смотрите также: | UA = Дивіться також: | EN = See Also | PT = Ver também | #default = See Also }}
関連項目

Personal tools