Ajuda do LibreOfficeDev 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(Data2; Data1)
Data1 é a data inicial, Data2 é a data final. SeData2 é uma data mais cedo que Data1 o resultado é 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") retorna 3652 dias.
=DAYS(NOW(); TODAY()) returns a fraction of the current day.