summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2023-11-26 16:43:09 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-11-28 14:56:01 +0100
commitdf97eb056605af65df8f2b3935285b27b27c21ad (patch)
tree03a98a32b8b39c99807c1063c885f342d2002bfd
parent4d8a15e36d381a5d839b878f2058bfba15b3442c (diff)
Fix example for YEAR() in Calc
Change-Id: I77e05169e6786210683785217c3611f40d7ebb56 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/159901 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--source/text/scalc/01/func_year.xhp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/scalc/01/func_year.xhp b/source/text/scalc/01/func_year.xhp
index 9cf89c4bb4..0bdbab6f39 100644
--- a/source/text/scalc/01/func_year.xhp
+++ b/source/text/scalc/01/func_year.xhp
@@ -42,7 +42,7 @@
<item type="input">=YEAR(2)</item> returns 1900</paragraph>
<paragraph role="paragraph" id="par_id3150115" xml-lang="en-US">
<item type="input">=YEAR(33333.33)</item> returns 1991</paragraph>
-<paragraph role="paragraph" id="par_id141577548861101"><input>=YEAR(DATEVALUE('2010-09-28'))</input> returns 2010.</paragraph>
+<paragraph role="paragraph" id="par_id141577548861101"><input>=YEAR(DATEVALUE("2010-09-28"))</input> returns 2010.</paragraph>
<section id="relatedtopics">
<tip id="par_id371677013165080"><link href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/YEAR">YEAR wiki page</link>.</tip>