1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir<helpdocument version="1.0">
3cdf0e10cSrcweir
4*52ac0773SAndrew Rist<!--***********************************************************
5cdf0e10cSrcweir *
6*52ac0773SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
7*52ac0773SAndrew Rist * or more contributor license agreements.  See the NOTICE file
8*52ac0773SAndrew Rist * distributed with this work for additional information
9*52ac0773SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
10*52ac0773SAndrew Rist * to you under the Apache License, Version 2.0 (the
11*52ac0773SAndrew Rist * "License"); you may not use this file except in compliance
12*52ac0773SAndrew Rist * with the License.  You may obtain a copy of the License at
13*52ac0773SAndrew Rist *
14*52ac0773SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
15*52ac0773SAndrew Rist *
16*52ac0773SAndrew Rist * Unless required by applicable law or agreed to in writing,
17*52ac0773SAndrew Rist * software distributed under the License is distributed on an
18*52ac0773SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*52ac0773SAndrew Rist * KIND, either express or implied.  See the License for the
20*52ac0773SAndrew Rist * specific language governing permissions and limitations
21*52ac0773SAndrew Rist * under the License.
22*52ac0773SAndrew Rist *
23*52ac0773SAndrew Rist ***********************************************************-->
24*52ac0773SAndrew Rist
25*52ac0773SAndrew Rist
26cdf0e10cSrcweir
27cdf0e10cSrcweir
28cdf0e10cSrcweir<meta>
29cdf0e10cSrcweir      <topic id="textscalc01func_datevaluexml" indexer="include" status="PUBLISH">
30cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">DATEVALUE </title>
31cdf0e10cSrcweir         <filename>/text/scalc/01/func_datevalue.xhp</filename>
32cdf0e10cSrcweir      </topic>
33cdf0e10cSrcweir   </meta>
34cdf0e10cSrcweir   <body>
35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145621"><bookmark_value>DATEVALUE function</bookmark_value>
36cdf0e10cSrcweir</bookmark>
37cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DATWERT" id="bm_id3163820" localize="false"/>
38cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145621" role="heading" level="2" l10n="U"
39cdf0e10cSrcweir                 oldref="18"><variable id="datevalue"><link href="text/scalc/01/func_datevalue.xhp">DATEVALUE</link>
40cdf0e10cSrcweir</variable></paragraph>
41cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3145087" role="paragraph" l10n="U" oldref="19"><ahelp hid="HID_FUNC_DATWERT">Returns the internal date number for text in quotes.</ahelp></paragraph>
42cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3149281" role="paragraph" l10n="CHG" oldref="20">The internal date number is returned as a number. The number is determined by the date system that is used by $[officename] to calculate dates.</paragraph>
43cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id0119200903491982" role="paragraph" l10n="NEW">If the text string also includes a time value, DATEVALUE only returns the integer part of the conversion.</paragraph>
44cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3156294" role="heading" level="3" l10n="U"
45cdf0e10cSrcweir                 oldref="21">Syntax</paragraph>
46cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3149268" role="code" l10n="U" oldref="22">DATEVALUE("Text")</paragraph>
47cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3154819" role="paragraph" l10n="U" oldref="23">
48cdf0e10cSrcweir         <emph>Text</emph> is a valid date expression and must be entered with quotation marks.</paragraph>
49cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3156309" role="heading" level="3" l10n="U"
50cdf0e10cSrcweir                 oldref="24">Example</paragraph>
51cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3155841" role="paragraph" l10n="CHG" oldref="25">
52cdf0e10cSrcweir         <emph>=DATEVALUE("1954-07-20")</emph> yields 19925.</paragraph>
53cdf0e10cSrcweir   </body>
54cdf0e10cSrcweir</helpdocument>