Documentation/Calc Functions/YEAR

From The Document Foundation Wiki
Jump to: navigation, search


Im-jabber.svg

Under construction.
For now, see the system Help files.


Function name:

YEAR

Category:

Date and Time

Summary:

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

Syntax:

YEAR(Number)

Returns:

Arguments:

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

Additional details:

Examples:

=YEAR(1) returns 1899

=YEAR(2) returns 1900

=YEAR(33333.33) returns 1991

Related LibreOffice functions:

ODF standard:

Equivalent Excel functions: