1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
28bb3cbefSmseidel
302dbb15cSAndrew Rist<!--***********************************************************
48bb3cbefSmseidel *
502dbb15cSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
602dbb15cSAndrew Rist * or more contributor license agreements.  See the NOTICE file
702dbb15cSAndrew Rist * distributed with this work for additional information
802dbb15cSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
902dbb15cSAndrew Rist * to you under the Apache License, Version 2.0 (the
1002dbb15cSAndrew Rist * "License"); you may not use this file except in compliance
1102dbb15cSAndrew Rist * with the License.  You may obtain a copy of the License at
128bb3cbefSmseidel *
1302dbb15cSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
148bb3cbefSmseidel *
1502dbb15cSAndrew Rist * Unless required by applicable law or agreed to in writing,
1602dbb15cSAndrew Rist * software distributed under the License is distributed on an
1702dbb15cSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1802dbb15cSAndrew Rist * KIND, either express or implied.  See the License for the
1902dbb15cSAndrew Rist * specific language governing permissions and limitations
2002dbb15cSAndrew Rist * under the License.
218bb3cbefSmseidel *
2202dbb15cSAndrew Rist ***********************************************************-->
2302dbb15cSAndrew Rist
248bb3cbefSmseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
268bb3cbefSmseidel<topic id="textscalc01func_timevaluexml" indexer="include" status="PUBLISH">
278bb3cbefSmseidel<title xml-lang="en-US" id="tit">TIMEVALUE</title>
288bb3cbefSmseidel<filename>/text/scalc/01/func_timevalue.xhp</filename>
298bb3cbefSmseidel</topic>
308bb3cbefSmseidel</meta>
318bb3cbefSmseidel<body>
32c2b55da1Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3146755">
33c2b55da1Smseidel<bookmark_value>TIMEVALUE function</bookmark_value>
34cdf0e10cSrcweir</bookmark>
35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZEITWERT" id="bm_id3146767" localize="false"/>
36*eed925efSmseidel<paragraph xml-lang="en-US" id="hd_id3146755" role="heading" level="2" l10n="U"><variable id="timevalue"><link href="text/scalc/01/func_timevalue.xhp">TIMEVALUE</link>
37cdf0e10cSrcweir</variable></paragraph>
38*eed925efSmseidel<paragraph xml-lang="en-US" id="par_id3148502" role="paragraph" l10n="U"><ahelp hid="HID_FUNC_ZEITWERT">TIMEVALUE returns the internal time number from a text enclosed by quotes and which may show a possible time entry format.</ahelp></paragraph>
39*eed925efSmseidel<paragraph xml-lang="en-US" id="par_id3150794" role="paragraph" l10n="U">The internal number indicated as a decimal is the result of the date system used under $[officename] to calculate date entries.</paragraph>
408bb3cbefSmseidel<paragraph xml-lang="en-US" id="par_id011920090347118" role="paragraph" l10n="NEW">If the text string also includes a year, month, or day, TIMEVALUE only returns the fractional part of the conversion.</paragraph>
41*eed925efSmseidel<paragraph xml-lang="en-US" id="hd_id3150810" role="heading" level="3" l10n="U">Syntax</paragraph>
42*eed925efSmseidel<paragraph xml-lang="en-US" id="par_id3150823" role="code" l10n="U">TIMEVALUE("Text")</paragraph>
43*eed925efSmseidel<paragraph xml-lang="en-US" id="par_id3152556" role="paragraph" l10n="U"><emph>Text</emph> is a valid time expression and must be entered in quotation marks.</paragraph>
44*eed925efSmseidel<paragraph xml-lang="en-US" id="hd_id3146815" role="heading" level="3" l10n="U">Examples</paragraph>
45*eed925efSmseidel<paragraph xml-lang="en-US" id="par_id3146829" role="paragraph" l10n="U"><item type="input">=TIMEVALUE("4PM")</item> returns 0.67. When formatting in time format HH:MM:SS, you then get 16:00:00.</paragraph>
46*eed925efSmseidel<paragraph xml-lang="en-US" id="par_id3153632" role="paragraph" l10n="U"><item type="input">=TIMEVALUE("24:00")</item> returns 1. If you use the HH:MM:SS time format, the value is 00:00:00.</paragraph>
478bb3cbefSmseidel</body>
488bb3cbefSmseidel</helpdocument>
49