Difference between revisions of "User:Syranzi/Documentation/How Tos/Calc: TIMEVALUE function"
From Apache OpenOffice Wiki
(http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Calc:_TIMEVALUE_function 日本語訳、作業中) |
(→例:) |
||
Line 21: | Line 21: | ||
: returns <tt>'''0.7'''</tt>, the date-time serial number for 16:48:00. This may be formatted to read, for example, <tt>'''4:48 PM'''</tt>. | : returns <tt>'''0.7'''</tt>, the date-time serial number for 16:48:00. This may be formatted to read, for example, <tt>'''4:48 PM'''</tt>. | ||
<tt>'''TIMEVALUE("16:48:00")'''</tt> | <tt>'''TIMEVALUE("16:48:00")'''</tt> | ||
− | : 「16 時 48 分 00 秒 (16:48:00)」の日付・時刻シリアル値である、<tt>'''「0.7」'''</tt>を返します。これは、例えば<tt>''' | + | : 「16 時 48 分 00 秒 (16:48:00)」の日付・時刻シリアル値である、<tt>'''「0.7」'''</tt>を返します。これは、例えば<tt>'''「午後 4:48」'''</tt>等と読めるよう、設定しておけます。 |
{{Documentation/SeeAlso|関連項目 | {{Documentation/SeeAlso|関連項目 |
Revision as of 01:55, 23 January 2011
TIMEVALUE
TIMEVALUE
returns the date-time serial number, from a time given as text.
文字で指定された時刻から、日付・時刻のシリアル値を返します。
Syntax:
構文:
TIMEVALUE(timetext)
- timetext is a time, expressed as text.
- TIMEVALUE returns the date-time serial number, which may be formatted to read as a time.
TIMEVALUE(時刻文字列)
- 「時刻文字列」は、文字として表された時刻です。
- TIMEVALUE は、日付・時刻のシリアル値を返します。これは、時刻として読めるよう設定しておくことができます。
Example:
例:
TIMEVALUE("16:48:00")
- returns 0.7, the date-time serial number for 16:48:00. This may be formatted to read, for example, 4:48 PM.
TIMEVALUE("16:48:00")
- 「16 時 48 分 00 秒 (16:48:00)」の日付・時刻シリアル値である、「0.7」を返します。これは、例えば「午後 4:48」等と読めるよう、設定しておけます。