Difference between revisions of "User:Syranzi/Documentation/How Tos/Calc: MONTH function"
From Apache OpenOffice Wiki
(→例:) |
(→例:) |
||
Line 24: | Line 24: | ||
: 6 月にあたる<tt>'''「6」'''</tt>を返します。 | : 6 月にあたる<tt>'''「6」'''</tt>を返します。 | ||
<tt>'''MONTH(A1)'''</tt> | <tt>'''MONTH(A1)'''</tt> | ||
− | : セル A1 が日付<tt>'''「83 年 11 月 23 | + | : セル A1 が日付<tt>'''「83 年 11 月 23 日」'''</tt>を日付・時刻のシリアル値として含む場合、<tt>'''「11」'''</tt>を返します。 |
{{Documentation/SeeAlso|関連項目 | {{Documentation/SeeAlso|関連項目 |
Revision as of 01:57, 23 January 2011
MONTH
MONRH
Returns the month of a given date.
指定された日付の月を返します。
Syntax:
構文:
MONTH(date)
- returns the month of date as a number, where January is 1 and December is 12.
- date may be text or a date-time serial number.
MONTH(日付)
- 「日付」の月を数字として返します。つまり、1 月は「1」、12 月は「12」となります。
Example:
例:
MONTH("2008-06-04")
- returns 6.
MONTH(A1)
- where cell A1 contains the date 23Nov83 as a date-time serial number, returns 11.
MONTH("2008-06-04")
- 6 月にあたる「6」を返します。
MONTH(A1)
- セル A1 が日付「83 年 11 月 23 日」を日付・時刻のシリアル値として含む場合、「11」を返します。