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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Created page with '== DAY == == DAY == Returns the day of a given date. 指定された日付の日を返します。 === Syntax: === === Syntax: === <tt>'''DAY(date)'''</tt> : returns the day o…')
 
 
(5 intermediate revisions by one other user not shown)
Line 12: Line 12:
 
: <tt>'''date'''</tt> may be text or a date-time serial number.
 
: <tt>'''date'''</tt> may be text or a date-time serial number.
 
<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 日(23Nov83)」'''</tt>を含む場合、<tt>'''「23」'''</tt>を返します。
+
: セル A1 が日付 <tt>'''「83 年 11 月 23 日」'''</tt>を含む場合、<tt>'''「23」'''</tt>を返します。
  
−
{{Documentation/SeeAlso 関連項目|
+
{{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

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

関連項目

Personal tools