Difference between revisions of "User:Syranzi/Documentation/How Tos/Calc: DATEVALUE function"
From Apache OpenOffice Wiki
(http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Calc:_DATEVALUE_function 日本語訳、作業中) |
(→例:) |
||
Line 22: | Line 22: | ||
: returns <tt>'''39409'''</tt>, the date-time serial number for 23Nov2007 (assuming the default date-time starting date) | : returns <tt>'''39409'''</tt>, the date-time serial number for 23Nov2007 (assuming the default date-time starting date) | ||
<tt>'''DATEVALUE("2007-11-23")'''</tt> | <tt>'''DATEVALUE("2007-11-23")'''</tt> | ||
− | : (既定された日付・時刻シリアル開始日を前提として) 「2007 年 11 月 23 | + | : (既定された日付・時刻シリアル開始日を前提として) 「2007 年 11 月 23 日」の日付・時刻のシリアル値である、<tt>'''「39409」'''</tt>を返します。 |
{{Documentation/SeeAlso|関連項目 | {{Documentation/SeeAlso|関連項目 |
Revision as of 01:45, 23 January 2011
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」を返します。