1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir 352ac0773SAndrew Rist<!--*********************************************************** 4cdf0e10cSrcweir * 552ac0773SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 652ac0773SAndrew Rist * or more contributor license agreements. See the NOTICE file 752ac0773SAndrew Rist * distributed with this work for additional information 852ac0773SAndrew Rist * regarding copyright ownership. The ASF licenses this file 952ac0773SAndrew Rist * to you under the Apache License, Version 2.0 (the 1052ac0773SAndrew Rist * "License"); you may not use this file except in compliance 1152ac0773SAndrew Rist * with the License. You may obtain a copy of the License at 12cdf0e10cSrcweir * 1352ac0773SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 14cdf0e10cSrcweir * 1552ac0773SAndrew Rist * Unless required by applicable law or agreed to in writing, 1652ac0773SAndrew Rist * software distributed under the License is distributed on an 1752ac0773SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1852ac0773SAndrew Rist * KIND, either express or implied. See the License for the 1952ac0773SAndrew Rist * specific language governing permissions and limitations 2052ac0773SAndrew Rist * under the License. 21cdf0e10cSrcweir * 2252ac0773SAndrew Rist ***********************************************************--> 2352ac0773SAndrew Rist 248bb3cbefSmseidel<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 26cdf0e10cSrcweir<topic id="textscalc01func_datevaluexml" indexer="include" status="PUBLISH"> 27cdf0e10cSrcweir<title xml-lang="en-US" id="tit">DATEVALUE</title> 28cdf0e10cSrcweir<filename>/text/scalc/01/func_datevalue.xhp</filename> 29cdf0e10cSrcweir</topic> 30cdf0e10cSrcweir</meta> 31cdf0e10cSrcweir<body> 323de3c617Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3145621"> 333de3c617Smseidel<bookmark_value>DATEVALUE function</bookmark_value> 34cdf0e10cSrcweir</bookmark> 35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DATWERT" id="bm_id3163820" localize="false"/> 36*eed925efSmseidel<paragraph xml-lang="en-US" id="hd_id3145621" role="heading" level="2" l10n="U"><variable id="datevalue"><link href="text/scalc/01/func_datevalue.xhp">DATEVALUE</link> 37cdf0e10cSrcweir</variable></paragraph> 38*eed925efSmseidel<paragraph xml-lang="en-US" id="par_id3145087" role="paragraph" l10n="U"><ahelp hid="HID_FUNC_DATWERT">Returns the internal date number for text in quotes.</ahelp></paragraph> 39*eed925efSmseidel<paragraph xml-lang="en-US" id="par_id3149281" role="paragraph" l10n="CHG">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> 40cdf0e10cSrcweir<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> 41*eed925efSmseidel<paragraph xml-lang="en-US" id="hd_id3156294" role="heading" level="3" l10n="U">Syntax</paragraph> 42*eed925efSmseidel<paragraph xml-lang="en-US" id="par_id3149268" role="code" l10n="U">DATEVALUE("Text")</paragraph> 43*eed925efSmseidel<paragraph xml-lang="en-US" id="par_id3154819" role="paragraph" l10n="U"><emph>Text</emph> is a valid date expression and must be entered with quotation marks.</paragraph> 44*eed925efSmseidel<paragraph xml-lang="en-US" id="hd_id3156309" role="heading" level="3" l10n="U">Example</paragraph> 45*eed925efSmseidel<paragraph xml-lang="en-US" id="par_id3155841" role="paragraph" l10n="CHG"><emph>=DATEVALUE("1954-07-20")</emph> yields 19925.</paragraph> 46cdf0e10cSrcweir</body> 47cdf0e10cSrcweir</helpdocument> 48