YEAR

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

αžšαžΌαž”β€‹αžαŸ†αžŽαžΆαž„β€‹αž…αŸ†αžŽαžΆαŸ†

This function is part of the Open Document Format for Office Applications (OpenDocument) standard Version 1.2. (ISO/IEC 26300:2-2015)


Syntax

YEAR(αž›αŸαž)

αž›αŸαž αž”αž„αŸ’αž αžΆαž‰β€‹αžαž˜αŸ’αž›αŸƒβ€‹αž€αžΆαž›β€‹αž”αžšαž·αž…αŸ’αž†αŸαž‘β€‹αžαžΆαž„β€‹αž€αŸ’αž“αž»αž„ αžŠαŸ‚αž›β€‹αž†αŸ’αž“αžΆαŸ†β€‹αžαŸ’αžšαžΌαžœβ€‹αžαŸ’αžšαž‘αž”αŸ‹β€‹αžŸαž˜αŸ’αžšαžΆαž”αŸ‹Β αŸ”

Example

=YEAR(1) αžαŸ’αžšαž›αž”αŸ‹ 1899

=YEAR(2) αžαŸ’αžšαž‘αž”αŸ‹ 1900

=YEAR(33333.33) αžαŸ’αžšαž‘αž”αŸ‹ 1991

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

Date & Time Functions

DATE

[text/scalc/01/func_datedif.xhp#datedif not found].

DATEVALUE

DAY

DAYS

DAYS360

EASTERSUNDAY

EDATE

EOMONTH

HOUR

[text/scalc/01/func_isoweeknum.xhp#isoweeknum not found].

MINUTE

MONTH

NETWORKDAYS

NETWORKDAYS.INTL

NOW

SECOND

TIME

TIMEVALUE

TODAY

WEEKDAY

WEEKNUM

WEEKNUM_ADD

[text/scalc/01/func_weeknum_ooo.xhp#weeknum_ooo not found].

WORKDAY

WORKDAY.INTL

YEAR

YEARFRAC

Please support us!