LibreOffice 25.2 Súgó
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.
NAPOK(dátum_2; dátum_1)
A dátum_1 a kezdő dátum, a dátum_2 a befejező dátum. Ha a dátum_2 korábbi, mint a dátum_1, az eredmény negatív szám lesz.
=DAYS(TODAY();"2010-01-01")) returns the number of days from January 1, 2010 until today.
=NAPOK("1990-10-10";"1980-10-10") eredménye 3652 nap.
=DAYS(NOW(); TODAY()) returns a fraction of the current day.