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

From Apache OpenOffice Wiki
Jump to: navigation, search
(例:)
 
Line 24: Line 24:
 
:  (既定された日付・時刻シリアル開始日を前提として) 「2007 年 11 月 23 日」の日付・時刻のシリアル値である、<tt>'''「39409」'''</tt>を返します。
 
:  (既定された日付・時刻シリアル開始日を前提として) 「2007 年 11 月 23 日」の日付・時刻のシリアル値である、<tt>'''「39409」'''</tt>を返します。
  
{{Documentation/SeeAlso|関連項目
+
{{SeeAlso|EN|関連項目
 
* [[Documentation/How_Tos/Calc: DATE function|DATE]]
 
* [[Documentation/How_Tos/Calc: DATE function|DATE]]
 
* [[Documentation/How_Tos/Calc: TIMEVALUE function|TIMEVALUE]]
 
* [[Documentation/How_Tos/Calc: TIMEVALUE function|TIMEVALUE]]

Latest revision as of 09:48, 17 July 2018

DATEVALUE

DATEVALUE

returns the date-time serial number, from a date given as text.

日付が文字として指定されると、日付・時刻のシリアル値を返します。

Syntax:

構文:

DATEVALUE(datetext)

datetext is a date, expressed as text.
DATEVALUE returns the date-time serial number, which may be formatted to read as a date.

DATEVALUE(日付文字列)

「日付文字列」は、文字として表された日付です。
DATEVALUE は日付・時刻のシリアル値を返します。これは、日付として読めるよう設定しておくことができます。


Example:

例:

DATEVALUE("2007-11-23")

returns 39409, the date-time serial number for 23Nov2007 (assuming the default date-time starting date)

DATEVALUE("2007-11-23")

(既定された日付・時刻シリアル開始日を前提として) 「2007 年 11 月 23 日」の日付・時刻のシリアル値である、「39409」を返します。



See Also

関連項目

Personal tools