Syntax
| Parameter | Description |
|---|---|
| end_date | Parameter of the DAYS function. |
| start_date | Parameter of the DAYS function. |
Examples
Days between dates
=DAYS("2026-12-31", "2026-01-01")
Days until deadline
=DAYS(B2, TODAY())
Age in days
=DAYS(TODAY(), A1)
Common Errors
Occurs when either argument is not a valid date or cannot be interpreted as a date.
Tips
DAYS(end, start) — end date first, start date second. If you reverse them, you get a negative number. This is the opposite of DATEDIF's order.
=DAYS(B1, A1) gives the same result as =B1-A1. DAYS is more readable and explicitly communicates intent.
DAYS counts all calendar days including weekends and holidays. For business days only, use NETWORKDAYS instead.
Try DAYS in Viztab
Import your data and use DAYS with 370+ other formulas. No signup required.
Open Viztab