From 940b4d1848e8c70ab7642901a68594e8016caffc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:51:28 +0200 Subject: Adding upstream version 1:7.0.4. Signed-off-by: Daniel Baumann --- helpcontent2/source/text/scalc/01/func_year.xhp | 50 +++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 helpcontent2/source/text/scalc/01/func_year.xhp (limited to 'helpcontent2/source/text/scalc/01/func_year.xhp') diff --git a/helpcontent2/source/text/scalc/01/func_year.xhp b/helpcontent2/source/text/scalc/01/func_year.xhp new file mode 100644 index 000000000..c2fe1b635 --- /dev/null +++ b/helpcontent2/source/text/scalc/01/func_year.xhp @@ -0,0 +1,50 @@ + + + + + +YEAR +/text/scalc/01/func_year.xhp + + + +YEAR function + +

YEAR +

+Returns the year as a number according to the internal calculation rules. + + +YEAR(Number) + +Number shows the internal date value for which the year is to be returned. + + +=YEAR(1) returns 1899 + +=YEAR(2) returns 1900 + +=YEAR(33333.33) returns 1991 +=YEAR(DATEVALUE('2010-09-28')) returns 2010. + +
+ +
+ +
-- cgit v1.2.3