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

From Apache OpenOffice Wiki
Revision as of 04:03, 29 January 2011 by Syranzi (Talk | contribs)

Jump to: navigation, search

DAYSINMONTH

DAYSINMONTH

Returns the number of days in a month.

1 つの月の総日数を返します。

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

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

Syntax:

構文:

DAYSINMONTH(date)

returns the number of days in the month in which date lies.

DAYSINMONTH(日付)

「日付」が属する月の総日数を返します。

Example:

例:

DAYSINMONTH("2012-02-14")

returns 29, the number of days in February 2012 (2012 is a leap year).

DAYSINMONTH("2012-02-14")

2012 年 2 月の日数「29」を返します (2012 年は、うるう年)。

Issues:

課題:

DAYSINMONTH is not part of the forthcoming ODFF international standard, and should not be regarded as portable. An alternative would be DAY(DATE(YEAR(date);MONTH(date)+1;0)).

DAYSINMONTH は、将来的には ODFF 国際標準の範疇に入らず、移植可能として扱われるべきではありません。代替できる関数は DAY(DATE(YEAR(日付);MONTH(日付)+1;0)) です。

Template:Documentation/SeeAlso

Personal tools