Ano

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

note

Esta función é parte da norma Formato Open Document para Aplicacións de Ofimática (OpenDocument), versión 1.2 (ISO/IEC 26300:2-2015)


Sintaxe

Year (Número)

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

note

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.

Precisamos da súa axuda!