LibreOfficeDev 25.2 Hjelp
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.
DAGAR(Dato1; Dato2)
Dato_1 er startdatoen, Dato_2 er sluttdatoen. Dersom Dato_2 er ein dato før Dato_1, vert resultatet eit negativt tal.
=DAYS(TODAY();"2010-01-01")) returns the number of days from January 1, 2010 until today.
=DAGAR("1990-10-10";"1980-10-10") returnerer 3652 dagar.
=DAYS(NOW(); TODAY()) returns a fraction of the current day.