summaryrefslogtreecommitdiff
path: root/source/text/scalc/01
diff options
context:
space:
mode:
authorRafael Lima <rafael.palma.lima@gmail.com>2022-01-21 15:40:12 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2022-01-22 15:43:58 +0100
commite3bcf0ef395578e011a76943a15f3467ea128b35 (patch)
tree555510acdc1ba17355217161fe7f884c2d681475 /source/text/scalc/01
parent7577c4518f2592b2da440638cc1945c0f54f0319 (diff)
tdf#146778 Clarify the use of the "Interval" argument
+ minor refactoring. Change-Id: I339ea6a2fbd94be3aa9fe756181e3a7b6a5cc604 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128677 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/scalc/01')
-rw-r--r--source/text/scalc/01/func_datedif.xhp10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/text/scalc/01/func_datedif.xhp b/source/text/scalc/01/func_datedif.xhp
index d6a1cb4650..c8dae66be9 100644
--- a/source/text/scalc/01/func_datedif.xhp
+++ b/source/text/scalc/01/func_datedif.xhp
@@ -17,19 +17,21 @@
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3155511"><bookmark_value>DATEDIF function</bookmark_value>
</bookmark>
-<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DATEDIF" id="bm_id3149022" localize="false"/><h2 id="hd_id3155511"><variable id="datedif"><link href="text/scalc/01/func_datedif.xhp">DATEDIF</link>
-</variable></h2>
+<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DATEDIF" id="bm_id3149022" localize="false"/>
+<h2 id="hd_id3155511"><variable id="datedif"><link href="text/scalc/01/func_datedif.xhp">DATEDIF</link></variable></h2>
<paragraph role="paragraph" id="par_id3153551" xml-lang="en-US"><ahelp hid="HID_FUNC_DATEDIF">This function returns the number of whole days, months or years between Start date and End date.</ahelp></paragraph>
<embed href="text/scalc/00/avail_release.xhp#3.6"/>
<embed href="text/scalc/01/ODFF.xhp#odff"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
-<paragraph role="code" id="par_id3150474" xml-lang="en-US">DATEDIF(Start date; End date; Interval)</paragraph>
+<paragraph role="paragraph" id="par_id531642776283977">
+ <input>DATEDIF(Start date; End date; Interval)</input>
+</paragraph>
<paragraph role="paragraph" id="par_id3152815" xml-lang="en-US">
<emph>Start date</emph> is the date from when the calculation is carried out.</paragraph>
<paragraph role="paragraph" id="par_id3155817" xml-lang="en-US">
<emph>End date</emph> is the date until the calculation is carried out. End date must be later, than Start date.</paragraph>
<paragraph role="paragraph" id="par_id3153183" xml-lang="en-US">
-<emph>Interval</emph> is a string, accepted values are "d", "m", "y", "ym", "md" or "yd".</paragraph>
+<emph>Interval</emph> is a string that determines how the difference will be calculated. Possible values are "d", "m", "y", "ym", "md" or "yd" regardless of the current language settings.</paragraph>
<embed href="text/scalc/01/04060102.xhp#datenumberinfo"/>
<embed href="text/scalc/01/04060102.xhp#datenumberwarn"/>
<table id="tbl_id1342204">