LibreOfficeDev 25.2 Hjælp
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.
DAGE(Dato_2; Dato_1)
Dato_1 er startdatoen, Dato_2 er slutdatoen. Hvis Dato_2 er en tidligere dato end Dato_1 vil resultatet være et negativt tal.
=DAYS(TODAY();"2010-01-01")) returns the number of days from January 1, 2010 until today.
=DAGE("1990-10-10";"1980-10-10") returnerer 3652 dage.
=DAYS(NOW(); TODAY()) returns a fraction of the current day.