LibreOffice SymbolLibreOffice Symbol

Mohon dukung kami!

DATE

Fungsi ini menghitung tanggal yang ditentukan oleh tahun, bulan, hari dan menampilkannya dalam pemformatan sel. Format default sel yang berisi fungsi DATE adalah format tanggal, tetapi Anda bisa memformat sel dengan format angka lainnya.

Sintaksis

DATE(Year; Month; Day)

tahun sebuah integer antara 1583 dan 9957 atau antara 0 dan 99.

Ikon Catatan

Dalam - LibreOfficeDev - Umum Anda dapat mengatur dari tahun berapa entri angka dua digit dikenali sebagai 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.

Ikon Tip

To avoid ambiguity, always use four digits for years.


Ikon Catatan

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


Contoh

=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

Ikon Catatan

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