Date and timeExcel 2013

DAYS

Calculate elapsed calendar days by subtracting a start date from an end date.

Syntax

=DAYS(end_date, start_date)

Worked example

Measure elapsed calendar days from March 2 to March 9.

=DAYS(DATE(2026,3,9),DATE(2026,3,2))

Result 7

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor