Update ooo320-m1
[ooovba.git] / helpcontent2 / source / text / scalc / 01 / func_second.xhp
blobf5e0033202a6c3beb73f3ea8823f6c543fa9db71
1 <?xml version="1.0" encoding="UTF-8"?>
5 <!--
6 ***********************************************************************
8 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9 *
10 * Copyright 2008 by Sun Microsystems, Inc.
12 * OpenOffice.org - a multi-platform office productivity suite
14 * $RCSfile: func_second.xhp,v $
15 * $Revision: 1.7 $
17 * This file is part of OpenOffice.org.
19 * OpenOffice.org is free software: you can redistribute it and/or modify
20 * it under the terms of the GNU Lesser General Public License version 3
21 * only, as published by the Free Software Foundation.
23 * OpenOffice.org is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU Lesser General Public License version 3 for more details
27 * (a copy is included in the LICENSE file that accompanied this code).
29 * You should have received a copy of the GNU Lesser General Public License
30 * version 3 along with OpenOffice.org. If not, see
31 * <http://www.openoffice.org/license.html>
32 * for a copy of the LGPLv3 License.
34 ************************************************************************
35 -->
38 <helpdocument version="1.0">
39 <meta>
40 <topic id="textscalc01func_secondxml" indexer="include" status="PUBLISH">
41 <title id="tit" xml-lang="en-US">SECOND </title>
42 <filename>/text/scalc/01/func_second.xhp</filename>
43 </topic>
44 </meta>
45 <body>
46 <bookmark xml-lang="en-US" branch="index" id="bm_id3159390"><bookmark_value>SECOND function</bookmark_value>
47 </bookmark>
48 <bookmark xml-lang="en-US" branch="hid/HID_FUNC_SEKUNDE" id="bm_id3155499" localize="false"/><paragraph role="heading" id="hd_id3159390" xml-lang="en-US" level="2" l10n="U" oldref="86"><variable id="second"><link href="text/scalc/01/func_second.xhp">SECOND</link>
49 </variable></paragraph>
50 <paragraph role="paragraph" id="par_id3148974" xml-lang="en-US" l10n="U" oldref="87"><ahelp hid="HID_FUNC_SEKUNDE">Returns the second for the given time value.</ahelp> The second is given as an integer between 0 and 59.</paragraph>
51 <paragraph role="heading" id="hd_id3154362" xml-lang="en-US" level="3" l10n="U" oldref="88">Syntax</paragraph>
52 <paragraph role="code" id="par_id3148407" xml-lang="en-US" l10n="U" oldref="89">SECOND(Number)</paragraph>
53 <paragraph role="paragraph" id="par_id3155904" xml-lang="en-US" l10n="U" oldref="90">
54 <emph>Number</emph>, as a time value, is a decimal, for which the second is to be returned.</paragraph>
55 <paragraph role="heading" id="hd_id3149992" xml-lang="en-US" level="3" l10n="U" oldref="91">Examples</paragraph>
56 <paragraph role="paragraph" id="par_id3153350" xml-lang="en-US" l10n="U" oldref="93">
57 <item type="input">=SECOND(NOW())</item> returns the current second</paragraph>
58 <paragraph role="paragraph" id="par_id3150831" xml-lang="en-US" l10n="U" oldref="94">
59 <item type="input">=SECOND(C4)</item> returns 17 if contents of C4 = <item type="input">12:20:17</item>.</paragraph>
60 </body>
61 </helpdocument>