Difference between revisions of "User:Syranzi/Documentation/How Tos/Calc: DAYSINYEAR function"
From Apache OpenOffice Wiki
(http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Calc:_DAYSINYEAR_function 日本語訳、作業中) |
|||
Line 29: | Line 29: | ||
<tt>'''DAYSINYEAR'''</tt> は、将来的に ODFF 国際標準の範疇に入らず、移植できません。計算結果を移植するには、<tt>'''365+(MONTH(DATE(YEAR(日付);2;29))=2)'''</tt> を使ってください。 | <tt>'''DAYSINYEAR'''</tt> は、将来的に ODFF 国際標準の範疇に入らず、移植できません。計算結果を移植するには、<tt>'''365+(MONTH(DATE(YEAR(日付);2;29))=2)'''</tt> を使ってください。 | ||
− | {{ | + | {{SeeAlso|EN|関連項目 |
* [[Documentation/How_Tos/Calc: ISLEAPYEAR function|ISLEAPYEAR]] | * [[Documentation/How_Tos/Calc: ISLEAPYEAR function|ISLEAPYEAR]] | ||
* [[Documentation/How_Tos/Calc: WEEKSINYEAR function|WEEKSINYEAR]] | * [[Documentation/How_Tos/Calc: WEEKSINYEAR function|WEEKSINYEAR]] |
Latest revision as of 09:46, 17 July 2018
DAYSINYEAR
DAYSINYEAR
Returns the number of days in a year.
1 つの年の総日数を返します。
This function is only available if the Analysis AddIn is installed.
この機能は、Analysis AddIn (分析アドイン) がインストールされている場合のみ使用可能です。
Syntax:
構文:
DAYSINYEAR(date)
- returns the number of days in the year in which date lies.
DAYSINYEAR(日付)
- 「日付」が属する年の総日数を返します。
Example:
例:
DAYSINYEAR("2012-02-14")
- returns 366, the number of days in 2012 (2012 is a leap year).
DAYSINYEAR("2012-02-14")
- 2012 年の日数「366」を返します (2012 年は、うるう年)。
Issues:
課題:
DAYSINYEAR is not part of the forthcoming ODFF international standard, and is not portable. Try 365+(MONTH(DATE(YEAR(date);2;29))=2) if you wish a portable result.
DAYSINYEAR は、将来的に ODFF 国際標準の範疇に入らず、移植できません。計算結果を移植するには、365+(MONTH(DATE(YEAR(日付);2;29))=2) を使ってください。
{{#switch:EN
| RU = Смотрите также:
| UA = Дивіться також:
| EN = See Also
| PT = Ver também
| #default = See Also
}}
関連項目