1<?xml version="1.0" encoding="UTF-8"?> 2 3 4<!--*********************************************************************** 5 * 6 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 7 * 8 * Copyright 2000, 2010 Oracle and/or its affiliates. 9 * 10 * OpenOffice.org - a multi-platform office productivity suite 11 * 12 * This file is part of OpenOffice.org. 13 * 14 * OpenOffice.org is free software: you can redistribute it and/or modify 15 * it under the terms of the GNU Lesser General Public License version 3 16 * only, as published by the Free Software Foundation. 17 * 18 * OpenOffice.org is distributed in the hope that it will be useful, 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 * GNU Lesser General Public License version 3 for more details 22 * (a copy is included in the LICENSE file that accompanied this code). 23 * 24 * You should have received a copy of the GNU Lesser General Public License 25 * version 3 along with OpenOffice.org. If not, see 26 * <http://www.openoffice.org/license.html> 27 * for a copy of the LGPLv3 License. 28 * 29 ************************************************************************--> 30<helpdocument version="1.0"> 31<meta> 32<topic id="textsbasicshared03030000xml" indexer="include" status="PUBLISH"> 33<title xml-lang="en-US" id="tit">Date and Time Functions</title> 34<filename>/text/sbasic/shared/03030000.xhp</filename> 35</topic> 36<history> 37<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> 38<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited> 39</history> 40</meta> 41<body> 42 43 44 <section id="datumzeit"> 45 <paragraph id="hd_id3150502" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030000.xhp" name="Date and Time Functions">Date and Time Functions</link></paragraph> 46 <paragraph role="paragraph" id="par_id3153255" l10n="U" xml-lang="en-US" oldref="2">Use the statements and functions described here to perform date and time calculations.</paragraph> 47 </section> 48 <paragraph l10n="U" role="paragraph" id="par_id3152363" xml-lang="en-US" oldref="3"><item type="productname">%PRODUCTNAME</item> Basic lets you calculate time or date differences by converting the time and date values to continuous numeric values. After the difference is calculated, special functions are used to reconvert the values to the standard time or date formats.</paragraph> 49 <paragraph xml-lang="en-US" role="tip" id="par_id3151054" l10n="U" oldref="4">You can combine date and time values into a single floating-decimal number. Dates are converted to integers, and times to decimal values. <item type="productname">%PRODUCTNAME</item> Basic also supports the variable type Date, which can contain a time specification consisting of both a date and time.</paragraph> 50 <embed href="text/sbasic/shared/03030100.xhp#datumswerte"/> 51 <embed href="text/sbasic/shared/03030200.xhp#uhrzeiten"/> 52 <embed href="text/sbasic/shared/03030300.xhp#ermitteln"/> 53 </body> 54</helpdocument> 55