days
Number of days between two dates.
Syntax
Section titled “Syntax”v = days(end_date, start_date)Description
Section titled “Description”Returns end_date - start_date (as integers). Argument order is end, start — opposite of datedif. Negative result if end < start.
Example
Section titled “Example”days(date(2026,12,31), date(2026,1,1)) % 364