User:Syranzi/Documentation/How Tos/Calc: DATEVALUE function

From Apache OpenOffice Wiki
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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