Difference between revisions of "User:Syranzi/Documentation/How Tos/Calc: MONTH function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(例:)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== MONTH ==
 
== MONTH ==
== MONRH ==
+
== MONTH ==
 
Returns the month of a given date.  
 
Returns the month of a given date.  
  
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 日 (23Nov83)」'''</tt>を日付・時刻のシリアル値として含む場合、<tt>'''「11」'''</tt>を返します。
+
: セル A1 が日付<tt>'''「83 年 11 月 23 日」'''</tt>を日付・時刻のシリアル値として含む場合、<tt>'''「11」'''</tt>を返します。
  
{{Documentation/SeeAlso|関連項目
+
{{SeeAlso|EN|関連項目
 
* [[Documentation/How_Tos/Calc: YEAR function|YEAR]]
 
* [[Documentation/How_Tos/Calc: YEAR function|YEAR]]
 
* [[Documentation/How_Tos/Calc: DAY function|DAY]]
 
* [[Documentation/How_Tos/Calc: DAY function|DAY]]

Latest revision as of 09:50, 17 July 2018

MONTH

MONTH

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」を返します。



See Also

関連項目

Personal tools