Module
Contents
Index 🔎︎

## DAYS

Calculates the difference between two date values. The result returns the number of days between the two days.

### Sintakse

DAYS(Datums2; Datums1)

Date1 is the start date, Date2 is the end date. If Date2 is an earlier date than Date1 the result is a negative number.

### Piemēri

=DAYS("2010-01-01"; NOW()) returns the number of days from today until January 1, 2010.

=DAYS("1990-10-10";"1980-10-10") atgriež 3652 dienas.