MS Excel: How to use the DAYS360 Function (WS)
This Excel tutorial explains how to use the Excel DAYS360 function with syntax and examples.
Description
The Microsoft Excel DAYS360 function returns the number of days between two dates based on a 360-day year.
The DAYS360 function is a built-in function in Excel that is categorized as a Date/Time Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the DAYS360 function can be entered as part of a formula in a cell of a worksheet.
Syntax
The syntax for the DAYS360 function in Microsoft Excel is:
DAYS360( start_date, end_date, [method] )
Parameters or Arguments
- start_date and end_date
- The two dates to calculate the difference between.
- method
- Optional. It is a boolean value - either TRUE or FALSE. If TRUE is entered, the DAYS360 function will use the European method. If FALSE is entered, the DAYS360 function will use the US method. If method is omitted, the DAYS360 function will use the US method.
Returns
The DAYS360 function returns a numeric value.
Applies To
- Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Function
- Worksheet function (WS)
Example (as Worksheet Function)
Let's look at some Excel DAYS360 function examples and explore how to use the DAYS360 function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following DAYS360 examples would return:
=DAYS360(A1, A2, TRUE) Result: 359 =DAYS360(A3, A2, TRUE) Result: 15 =DAYS360("30-Nov-2012", "1-Dec-2012") Result: 1
Advertisements