FormulaCamp
Completed
← All functions
Date & time

DAYS

Number of days between two dates.

Syntax

DAYS(end_date, start_date)

Example: =DAYS(C2,B2)

Available in: Excel 2013+

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =DAYS(B2,A2)

Example spreadsheet for DAYS
ABCDEF
1StartEndHolidayTimeResult
23/15/20266/20/20265/1/202614:4597
31/31/20262/28/20265/9/202609:30
412/24/20251/9/2026
Result in F2: 97
Practice this in a lesson: Tenure, Deadlines, Weekdays

More in Date & time