Axuda do LibreOffice 24.8
Returns the year as a number according to the internal calculation rules.
Year (Número)
Number shows the internal date value for which the year is to be returned.
YEAR() returns the integer part of the year.
=YEAR("2/22/2002") devolve 2002
=YEAR("2/22/2002") devolve 2002
=YEAR(2323.1285) devolve 1906
=YEAR(DATEVALUE("2010-09-28")) returns 2010.