Hàm YEAR

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

Cú pháp

YEAR(Số)

Số hiển thị giá trị ngày tháng nội bộ cho đó cần trả về năm.

Biểu tượng Ghi chú

YEAR() returns the integer part of the year.


Ví dụ

=YEAR(1) trả về 1899

=YEAR(2) trả về 1900

=YEAR(33333.33) trả về 1991

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

Technical information

Biểu tượng Ghi chú

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


Please support us!

Please support us!