User:Syranzi/Documentation/How Tos/Calc: DAYS360 function
From Apache OpenOffice Wiki
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.
DAYS360
DAYS360
Returns the number of days between two dates, using the 360 day year.
1 年を 360 日として、2 つの日付の間にある日数を返します。
Syntax:
構文:
DAYS360(enddate; startdate; method)
- startdate and enddate are the starting and ending dates (text or date-time serial numbers). If startdate is earlier than enddate, the result will be negative.
DAYS360(終了日付; 開始日付; 計算方式)
- 「開始日付」と「終了日付」は、指定期間が始まる日と終わる日 (文字または日付・時刻のシリアル値) です。「開始日付」が「終了日付」より前の日であれば、返される結果は負数になります。
- method is an optional parameter; if 0 or omitted, the US National Association of Securities Dealers (NASD) method of calculation is used; if 1 (or <>0) the European method of calcuation is used.
- 「方法」は任意のパラメーターです。0 か空欄にされると、全米証券業者協会 (NASD) 方式の計算方法が適用されます。1 (または 0 以外) であれば、ヨーロッパ式の計算方法が適用されます。
- The calculation assumes that all months have 30 days, so a year (12 months) has 360 days.
- この計算では、すべての月は 30 日あると仮定しています。つまり、1 年 (12 ヵ月) は 360 日 になります。
- See Financial date systems for more details.
- 詳細は、Financial date systems (Calc の日付・時刻関数のうち、金融関連の日付システム解説) を参照してください。
Example:
例:
DAYS360("2008-02-29"; "2008-08-31")
- returns 180, that is, 6 months of 30 days.
DAYS360("2008-02-29"; "2008-08-31")
- 「180」を返します。つまり、1 ヵ月 を30 日として 6 ヵ月相当です。
See Also
関連項目