Ajuda do 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(Data_2; Data_1)
Data_1 corresponde à data de início, Data_2 corresponde à data de fim. Se Data_2 corresponder a uma data anterior a Data_1, o resultado será um 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") devolve 3652 dias.
=DAYS(NOW(); TODAY()) returns a fraction of the current day.