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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Created page with '== MONTH == == MONRH == Returns the month of a given date. 指定された日付の月を返します。 === Syntax: === === 構文: === <tt>'''MONTH(date)'''</tt> : returns t…')
 
(例:)
Line 24: Line 24:
 
: 6 月にあたる<tt>'''「6」'''</tt>を返します。
 
: 6 月にあたる<tt>'''「6」'''</tt>を返します。
 
<tt>'''MONTH(A1)'''</tt>
 
<tt>'''MONTH(A1)'''</tt>
: セル A1 が日付<tt>'''「1983 年 11 月 23 日 (23Nov83)」'''</tt>を日付・時刻の連番として含む場合、<tt>'''「11」'''</tt>を返します。
+
: セル A1 が日付<tt>'''「83 年 11 月 23 日 (23Nov83)」'''</tt>を日付・時刻の連番として含む場合、<tt>'''「11」'''</tt>を返します。
  
 
{{Documentation/SeeAlso 関連項目|
 
{{Documentation/SeeAlso 関連項目|

Revision as of 13:10, 22 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 日 (23Nov83)」を日付・時刻の連番として含む場合、「11」を返します。

Template:Documentation/SeeAlso 関連項目

Personal tools