ExcelFlux

DAYS function

the number of days between two dates.

Date and time · Excel 2013+

Where can you use it?

Planning and operations teams. Use this group to work with dates and times in calendars, delivery schedules, shifts and period reporting.

Scenario in the workbook

Find elapsed calendar days between delivery and start. Equal dates return zero.

A worked example from the workbook

RowAB
6InputComparison
74602646023
84602446023
94602346023
Record 1
=DAYS(A7,B7)

Expected result3

See the inputs and instructions for all 3 examples

Copyable formulas

English Excel · en-US
=DAYS(DATE(2026,12,1),DATE(2026,11,29))
Turkish Excel · tr-TR
=GÜNSAY(TARİH(2026;12;1);TARİH(2026;11;29))

Expected result

2

Worked examples

Find elapsed calendar days between delivery and start. Equal dates return zero.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A B
6 Input Comparison
7 46026 46023
8 46024 46023
9 46023 46023
Case Formula Expected result
Record 1 =DAYS(A7,B7) 3
Record 2 =DAYS(A8,B8) 1
Record 3 =DAYS(A9,B9) 0
Microsoft Excel reference