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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Syntax:)
(例:)
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 日 (23Nov83)」'''</tt>を含む場合、<tt>'''「23」'''</tt>を返します。
+
: セル A1 が日付 <tt>'''「83 年 11 月 23 日」'''</tt>を含む場合、<tt>'''「23」'''</tt>を返します。
  
 
{{Documentation/SeeAlso|関連項目
 
{{Documentation/SeeAlso|関連項目

Revision as of 01:42, 23 January 2011

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(日付)

「日付」の日を数字 (131) として返します。
「日付」は文字、または日付・時刻のシリアル値です。

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

Template:Documentation/SeeAlso

Personal tools