Ajuda del LibreOffice 25.2
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.
DIES(Data2; Data1)
Data1 és la data d'inici i Data2 és la data final. Si la Data2 és anterior a la Data1, el resultat és un nombre negatiu.
=DAYS(TODAY();"2010-01-01")) returns the number of days from January 1, 2010 until today.
=DIES("1990-10-10";"1980-10-10") retorna 3652 dies.
=DAYS(NOW(); TODAY()) returns a fraction of the current day.