source/text/scalc/01/func_days.xhp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit 58d853c3ded5efc70a3ca23f89fa334e346a702b Author: Pierre F <f...@bger.ch> AuthorDate: Thu Aug 1 07:15:16 2024 +0200 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Thu Aug 1 23:09:02 2024 +0200 clarify DAYS() tdf#158215 Change-Id: Ic7dae4b334ab8a5c9aac01e433c0b402a3f1ce1e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/171345 Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> Tested-by: Jenkins diff --git a/source/text/scalc/01/func_days.xhp b/source/text/scalc/01/func_days.xhp index 308c4cf5d7..680c76964b 100644 --- a/source/text/scalc/01/func_days.xhp +++ b/source/text/scalc/01/func_days.xhp @@ -28,7 +28,7 @@ </bookmark> <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TAGE" id="bm_id3148893" localize="false"/><h1 id="hd_id3151328"><variable id="days"><link href="text/scalc/01/func_days.xhp">DAYS</link> </variable></h1> -<paragraph role="paragraph" id="par_id3155139" xml-lang="en-US"><ahelp hid="HID_FUNC_TAGE">Calculates the difference between two date values.</ahelp> The result returns the number of days between the two days.</paragraph> +<paragraph role="paragraph" id="par_id3155139" xml-lang="en-US"><ahelp hid="HID_FUNC_TAGE">Calculates the difference between two date values.</ahelp> Returns the number of days between the two days. May return a fraction of a day when the arguments include time parts.</paragraph> <embed href="text/scalc/01/ODFF.xhp#odff"/> <embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/> <paragraph role="code" id="par_id3149578" xml-lang="en-US">DAYS(Date2; Date1)</paragraph> @@ -37,10 +37,12 @@ <embed href="text/scalc/01/04060102.xhp#datenumberinfo"/> <embed href="text/scalc/01/04060102.xhp#datenumberwarn"/> <embed href="text/scalc/01/ful_func.xhp#func_head_example"/> -<paragraph role="paragraph" id="par_id3159101" xml-lang="en-US"><item type="input">=DAYS(NOW();"2010-01-01"))</item> returns the number of days from January 1, 2010 until today.</paragraph> +<paragraph role="paragraph" id="par_id3159101" xml-lang="en-US"><item type="input">=DAYS(TODAY();"2010-01-01"))</item> returns the number of days from January 1, 2010 until today.</paragraph> <paragraph role="paragraph" id="par_id3163720" xml-lang="en-US"><item type="input">=DAYS("1990-10-10";"1980-10-10")</item> returns 3652 days.</paragraph> +<paragraph role="paragraph" id="par_id3163722" xml-lang="en-US"><item type="input">=DAYS(NOW(); TODAY())</item> returns a fraction of the current day.</paragraph> <section id="relatedtopics"> <tip id="par_id381677016601040"><link href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/DAYS">DAYS wiki page</link>.</tip> + <embed href="text/scalc/guide/calc_date.xhp#calc_date"/> <embed href="text/scalc/01/04060102.xhp#datetimefunctions"/> </section> </body>