1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir 3ce44d6c1SAndrew Rist<!--*********************************************************** 4cdf0e10cSrcweir * 5ce44d6c1SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 6ce44d6c1SAndrew Rist * or more contributor license agreements. See the NOTICE file 7ce44d6c1SAndrew Rist * distributed with this work for additional information 8ce44d6c1SAndrew Rist * regarding copyright ownership. The ASF licenses this file 9ce44d6c1SAndrew Rist * to you under the Apache License, Version 2.0 (the 10ce44d6c1SAndrew Rist * "License"); you may not use this file except in compliance 11ce44d6c1SAndrew Rist * with the License. You may obtain a copy of the License at 12cdf0e10cSrcweir * 13ce44d6c1SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 14cdf0e10cSrcweir * 15ce44d6c1SAndrew Rist * Unless required by applicable law or agreed to in writing, 16ce44d6c1SAndrew Rist * software distributed under the License is distributed on an 17ce44d6c1SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18ce44d6c1SAndrew Rist * KIND, either express or implied. See the License for the 19ce44d6c1SAndrew Rist * specific language governing permissions and limitations 20ce44d6c1SAndrew Rist * under the License. 21cdf0e10cSrcweir * 22ce44d6c1SAndrew Rist ***********************************************************--> 23ce44d6c1SAndrew Rist 24cdf0e10cSrcweir<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 26cdf0e10cSrcweir<topic id="textscalcguideyear2000xml" indexer="include" status="PUBLISH"> 27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">19xx/20xx Years</title> 28cdf0e10cSrcweir<filename>/text/scalc/guide/year2000.xhp</filename> 29cdf0e10cSrcweir</topic> 30cdf0e10cSrcweir</meta> 31cdf0e10cSrcweir<body> 3254be4daeSmseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3150439"> 3354be4daeSmseidel<bookmark_value>years; 2-digits</bookmark_value> 34cdf0e10cSrcweir<bookmark_value>dates; 19xx/20xx</bookmark_value> 35cdf0e10cSrcweir</bookmark> 36*a9e83bbaSmseidel<paragraph role="heading" id="hd_id3150439" xml-lang="en-US" level="1" l10n="U"><variable id="year2000"><link href="text/scalc/guide/year2000.xhp" name="19xx/20xx Years">19xx/20xx Years</link> 37cdf0e10cSrcweir</variable></paragraph> 38cdf0e10cSrcweir<section id="text"> 39*a9e83bbaSmseidel<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US" l10n="U">The year in a date entry is often entered as two digits. Internally, the year is managed by $[officename] as four digits, so that in the calculation of the difference from 1/1/99 to 1/1/01, the result will correctly be two years.</paragraph> 40cdf0e10cSrcweir<list type="unordered"> 41cdf0e10cSrcweir<listitem> 42*a9e83bbaSmseidel<paragraph role="listitem" id="par_id3154011" xml-lang="en-US" l10n="U">Under <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - $[officename] - General</emph> you can define the century that is used when you enter a year with only two digits. The default is 1930 to 2029.</paragraph> 43cdf0e10cSrcweir</listitem> 44cdf0e10cSrcweir</list> 45*a9e83bbaSmseidel<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U">This means that if you enter a date of 1/1/30 or higher, it will be treated internally as 1/1/1930 or higher. All lower two-digit years apply to the 20xx century. So, for example, 1/1/20 is converted into 1/1/2020.</paragraph> 46cdf0e10cSrcweir</section> 47cdf0e10cSrcweir<section id="relatedtopics"> 48cdf0e10cSrcweir<embed href="text/scalc/guide/calc_date.xhp#calc_date"/> 49cdf0e10cSrcweir</section> 50cdf0e10cSrcweir</body> 51cdf0e10cSrcweir</helpdocument> 52