Date & time function

DAYS360 function

Counts days between two dates using a 360-day year (twelve 30-day months), as used in many interest and accounting calculations.

Available in All versions of Excel (Windows and Mac), Excel for Microsoft 365, Excel for the web

In every Excel versionWorks in Google Sheets

Syntax

DAYS360(start_date, end_date, [method])
ArgumentWhat it means
start_dateRequiredThe earlier date.
end_dateRequiredThe later date.
methodOptionalFALSE or omitted = US (NASD) method; TRUE = European method. They differ only in how the 31st of a month is handled.

Returns: A whole number of days on a 30/360 basis (negative if the end date is earlier).

How DAYS360 works

Some accounting systems and loan agreements do not count real calendar days. Instead they pretend every month has 30 days and every year 360 days, which makes monthly interest identical regardless of the month's length. DAYS360 applies that convention, so you can reproduce the day counts a bank or bookkeeping system uses.

The two methods differ at month ends. In the European method (TRUE) any 31st simply becomes the 30th. In the US method (FALSE, the default) a start date on the 31st (or the last day of February) becomes the 30th, but an end date on the 31st is only moved to the 30th if the start date is already the 30th or 31st. The examples below show a case where this gives a one-day difference.

Examples

1Interest days for a short-term deposit

C2fx=DAYS360(A2,B2)
ABC
1StartEnd30/360 days
22026-01-152026-07-15180

Result: 180

Six whole months on a 30/360 basis are always 6 × 30 = 180 days, even though the real calendar count is 181.

2US versus European month-end rule

C2fx=DAYS360(A2,B2,FALSE)
ABCD
1StartEndUSEuropean
22026-03-152026-05-3176

Result: 76

US method: the start day (15) is below 30, so the 31 May end date is kept as the 31st → 2 × 30 + 16 = 76 days. With =DAYS360(A2,B2,TRUE) in D2 the European method turns 31 into 30 and returns 75.

3Simple interest on a 30/360 basis

E2fx=A2*B2*DAYS360(C2,D2)/360
ABCDE
1PrincipalRateStartEndInterest
2250004.80%2026-02-012026-09-01700.00

Result: 700.00

7 months × 30 = 210 days, so the interest is 25,000 × 4.8% × 210/360 = 700.00 (cell formatted with 2 decimals).

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 15 KB

Common errors and how to fix them

ErrorWhy it happensFix
#VALUE!One of the dates is text Excel cannot read as a date.Use real date cells or DATE.

Tips

  • Use DAYS360 only when a contract or system explicitly uses 30/360; for actual days use DAYS or simple subtraction.
  • The bond functions (ACCRINT, PRICE, YEARFRAC) use the same idea through their basis argument: basis 0 is US 30/360, basis 4 is European 30/360.
  • Dates at the end of February are handled specially by the US method, so check results around 28/29 Feb against your bank statement.

Google Sheets

DAYS360 also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

DAYS360 in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechROK360
DanishDAGE360
DutchDAGEN360
FinnishPÄIVÄT360
FrenchJOURS360
GermanTAGE360
HungarianNAP360
ItalianGIORNO360
Norwegian (Bokmål)DAGER360
PolishDNI.360
Portuguese (Brazil)DIAS360
Portuguese (Portugal)DIAS360
RussianДНЕЙ360
SpanishDIAS360
SwedishDAGAR360
TurkishGÜN360