LibreOffice 25.2 Bantuan
Calculates the difference between two date values. Returns the number of days between the two days. May return a fraction of a day when the arguments include time parts.
Hari
Date1 adalah tanggal mulai, Date2 adalah tanggal akhir. Jika Date2 adalah tanggal yang lebih awal dari Date1 hasilnya adalah angka negatif.
=DAYS(TODAY();"2010-01-01")) returns the number of days from January 1, 2010 until today.
=DAYS("1990-10-10";"1980-10-10") mengembalikan 3652 hari.
=DAYS(NOW(); TODAY()) returns a fraction of the current day.