Returns the number of days between two dates.
The date cannot be entered directly as an argument, but must be present in cells or be calculated by a formula that returns a value of the Date type. Two arguments are required.
The input of the arguments is made in the following form: =DAYS(Date;Date).
Example
=DAYS(A1;A2) returns 22 days.