Difference between revisions of "User:Syranzi/Documentation/How Tos/Calc: DAYSINMONTH function"
From Apache OpenOffice Wiki
(→例:) |
|||
Line 29: | Line 29: | ||
<tt>'''DAYSINMONTH'''</tt> は、将来的には ODFF 国際標準の範疇に入らず、移植可能として扱われるべきではありません。代替できる関数は <tt>'''DAY(DATE(YEAR(日付);MONTH(日付)+1;0))'''</tt> です。 | <tt>'''DAYSINMONTH'''</tt> は、将来的には ODFF 国際標準の範疇に入らず、移植可能として扱われるべきではありません。代替できる関数は <tt>'''DAY(DATE(YEAR(日付);MONTH(日付)+1;0))'''</tt> です。 | ||
− | {{ | + | {{SeeAlso|EN|関連項目 |
* [[Documentation/How_Tos/Calc: EOMONTH function|EOMONTH]] | * [[Documentation/How_Tos/Calc: EOMONTH function|EOMONTH]] | ||
* [[Documentation/How_Tos/Calc: DAYSINYEAR function|DAYSINYEAR]] | * [[Documentation/How_Tos/Calc: DAYSINYEAR function|DAYSINYEAR]] |
Latest revision as of 09:46, 17 July 2018
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)) です。
See Also
関連項目