Difference between revisions of "User:Syranzi/Documentation/How Tos/Calc: DAY function"
From Apache OpenOffice Wiki
(→例:) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 13: | Line 13: | ||
<tt>'''DAY(日付)'''</tt> | <tt>'''DAY(日付)'''</tt> | ||
: <tt>'''「日付」'''</tt>の日を数字 (<tt>'''1'''</tt> ~ <tt>'''31'''</tt>) として返します。 | : <tt>'''「日付」'''</tt>の日を数字 (<tt>'''1'''</tt> ~ <tt>'''31'''</tt>) として返します。 | ||
− | : <tt>'''「日付」'''</tt> | + | : <tt>'''「日付」'''</tt>は文字、または日付・時刻のシリアル値です。 |
=== Example: === | === Example: === | ||
Line 25: | Line 25: | ||
: 4 日にあたる<tt>'''「4」'''</tt>を返します。 | : 4 日にあたる<tt>'''「4」'''</tt>を返します。 | ||
<tt>'''DAY(A1)'''</tt> | <tt>'''DAY(A1)'''</tt> | ||
− | : セル A1 が日付 <tt>'''「83 年 11 月 23 | + | : セル A1 が日付 <tt>'''「83 年 11 月 23 日」'''</tt>を含む場合、<tt>'''「23」'''</tt>を返します。 |
− | {{ | + | {{SeeAlso|EN|関連項目 |
* [[Documentation/How_Tos/Calc: YEAR function|YEAR]] | * [[Documentation/How_Tos/Calc: YEAR function|YEAR]] | ||
* [[Documentation/How_Tos/Calc: MONTH function|MONTH]] | * [[Documentation/How_Tos/Calc: MONTH function|MONTH]] |
Latest revision as of 09:50, 17 July 2018
Contents
DAY
DAY
Returns the day of a given date.
指定された日付の日を返します。
Syntax:
Syntax:
DAY(date)
- returns the day of date as a number (1-31).
- date may be text or a date-time serial number.
DAY(日付)
- 「日付」の日を数字 (1 ~ 31) として返します。
- 「日付」は文字、または日付・時刻のシリアル値です。
Example:
例:
DAY("2008-06-04")
- returns 4.
DAY(A1)
- where cell A1 contains the date 23Nov83 as a date-time serial number, returns 23.
DAY("2008-06-04")
- 4 日にあたる「4」を返します。
DAY(A1)
- セル A1 が日付 「83 年 11 月 23 日」を含む場合、「23」を返します。
See Also
関連項目