Axuda do Collabora Office 24.04
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("2/22/2002") devolve 2002
=YEAR("2/22/2002") devolve 2002
=YEAR(2323.1285) devolve 1906
=YEAR(DATEVALUE("2010-09-28")) returns 2010.