Ayuda de 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.
DIAS(Fecha2; Fecha1)
Datos1 es la fecha de inicio, Datos2 es la fecha de finalización. Si Datos2 es una fecha anterior a Datos1 el resultado es un número negativo.
=DAYS(TODAY();"2010-01-01")) returns the number of days from January 1, 2010 until today.
=DIAS("1990-10-10";"1980-10-10") devuelve 3652 días.
=DAYS(NOW(); TODAY()) returns a fraction of the current day.