LibreOffice SymbolLibreOffice Symbol

Mangyaring suportahan kami!

DATE

Kinakalkula ng function na ito ang petsang tinukoy ng taon, buwan, araw at ipinapakita ito sa pag-format ng cell. Ang default na format ng isang cell na naglalaman ng DATE function ay ang format ng petsa, ngunit maaari mong i-format ang mga cell gamit ang anumang iba pang format ng numero.

Syntax

DATE(Taon; Buwan; Araw)

taon ay isang integer sa pagitan ng 1583 at 9957 o sa pagitan ng 0 at 99.

Icon ng Tala

Sa - LibreOfficeDev - Pangkalahatan maaari mong itakda kung aling taon ang isang dalawang-digit na numero ng entry ay kinikilala bilang 20xx.


Month is an integer indicating the month. A value between 1 and 12.

Day is an integer indicating the day of the month. A value between 1 and 31.

If the values for month and day are out of bounds, they are carried over to the next digit. If you enter =DATE(2000;12;31) the result will be 2000-12-31. If, on the other hand, you enter =DATE(2000;13;31) the result will be 2001-01-31.

Icon ng Tip

To avoid ambiguity, always use four digits for years.


Icon ng Tala

For Integer arguments, non-integer values are truncated to Integer.


Mga halimbawa

=DATE(00;1;31) yields the date 2000-01-31 written as 01/31/00 if the cell format setting is MM/DD/YY.

Teknikal na impormasyon

Icon ng Tala

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