LibreOffice 25.2 Help
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.
DAYS(កាលបរិច្ឆេទ 2; កាលបរិច្ឆេទ 1)
កាលបរិច្ឆេទ 1 គឺជាកាលបរិច្ឆេទចាប់ផ្ដើម, កាលបរិច្ឆេទ 2 គឺជាកាលបរិច្ឆេទបញ្ចប់ ។ ប្រសិនបើ កាលបរិច្ឆេទ 2 គឺជាកាលបរិច្ឆេទមុន កាលបរិច្ឆេទ 1 គឺជាចំនួនអវិជ្ជមាន ។
=DAYS(TODAY();"2010-01-01")) returns the number of days from January 1, 2010 until today.
=DAYS("1990-10-10";"1980-10-10") returns 3652 days.
=DAYS(NOW(); TODAY()) returns a fraction of the current day.