SheetRocks
Documentation/Formulas/DAYS

DAYS

Returns the number of days between two dates

Syntax

DAYS(end_date, start_date)

Arguments

Argument Description Required
end_date The end date Required
start_date The start date Required

Examples

Calculate days between two dates (positive)

=DAYS(A1, A2)
Result ⇒ 3653
A
1 11/12/1965
2 11/12/1955

Calculate days when end is before start (negative)

=DAYS(A1, A2)
Result ⇒ -90
A
1 1/1/2021
2 4/1/2021

Days in one year

=DAYS(A1, A2)
Result ⇒ 365
A
1 8/30/2001
2 8/30/2000

Related Functions

Other Date/Time functions:


← Back to Formula Reference