LibreOffice SymbolLibreOffice Symbol

Paremkite mus!

DATE

Ši funkcija apskaičiuoja datą, nurodytą metais, mėnesiu ir diena, ir parodo langelio formatu. Numatytasis langelio su DATE funkcija formatas yra datos, bet jūs galite pakeisti langelio formatą į kitą skaičiaus formatą.

Sintaksė

DATE(metai; mėnuo; diena)

Metai – sveikasis tarp 1583 ir 9957 arba tarp 0 ir 99.

Note Icon

Pasirinkę – „LibreOfficeDev“ – Pagrindinis galite nustatyti, nuo kurių metų dviženklis skaičius atpažįstamas kaip 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.

Tip Icon

To avoid ambiguity, always use four digits for years.


Note Icon

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


Pavyzdžiai

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

Technical information

Note Icon

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