Get days between 2 dates in a 360-day year
=DAYS360(start_date, end_date, [method])
| Parameter | Description |
|---|---|
start_date |
The start date. |
end_date |
The end date. |
method |
[optional] Day count method. FALSE (default) = US method, TRUE = European method. |
In the formula below, DAYS360 returns 360 days with a start date of January 1, 2021 and an end date of December 31, 2021.
=DAYS360("1-Jan-2021","31-Dec-2021") // returns 360
With a start date of July 1, 2021 in A1, and an end date of December 31, 2021 in B1, the formula below returns 180:
=DAYS360(A1,B1) // returns 180
To create a date from scratch in a formula, use the DATE function. The formula below returns 90:
=DAYS360(DATE(2021,1,1),DATE(2021,4,1)) // returns 90