LibreOffice SymbolLibreOffice Symbol

Precisamos da súa axuda!

Ano

Returns the year as a number according to the internal calculation rules.

Sintaxe

Year (Número)

Number shows the internal date value for which the year is to be returned.

Icona Nota

YEAR() returns the integer part of the year.


Exemplos

=YEAR("2/22/2002") devolve 2002

=YEAR("2/22/2002") devolve 2002

=YEAR(2323.1285) devolve 1906

=YEAR(DATEVALUE("2010-09-28")) returns 2010.

Información técnica

Icona Nota

This function is part of the Open Document Format for Office Applications (OpenDocument) standard.