Difference between revisions of "User:Syranzi/Documentation/How Tos/Calc: DAYSINMONTH function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Calc:_DAYSINMONTH_function 日本語訳、作業中)
 
(課題:)
Line 27: Line 27:
 
<tt>'''DAYSINMONTH'''</tt> is not part of the forthcoming ODFF international standard, and should not be regarded as portable. An alternative would be <tt>'''DAY(DATE(YEAR(date);MONTH(date)+1;0))'''</tt>.
 
<tt>'''DAYSINMONTH'''</tt> is not part of the forthcoming ODFF international standard, and should not be regarded as portable. An alternative would be <tt>'''DAY(DATE(YEAR(date);MONTH(date)+1;0))'''</tt>.
  
<tt>'''DAYSINMONTH'''</tt> は、将来的には ODFF 国際標準の範疇には入らず、移植可能として扱われるべきではありません。代替できる関数は <tt>'''DAY(DATE(YEAR(日付);MONTH(日付)+1;0))'''</tt> です。
+
<tt>'''DAYSINMONTH'''</tt> は、将来的には ODFF 国際標準の範疇に入らず、移植可能として扱われるべきではありません。代替できる関数は <tt>'''DAY(DATE(YEAR(日付);MONTH(日付)+1;0))'''</tt> です。
  
 
{{Documentation/SeeAlso|関連項目
 
{{Documentation/SeeAlso|関連項目

Revision as of 03:52, 29 January 2011

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