MS Excel: DAYS360 Function (WS)
The Microsoft Excel DAYS360 function returns the number of days between two dates based on a 360-day year.
DAYS360 Function (Syntax)
The syntax for the Microsoft Excel DAYS360 function is:
DAYS360( start_date, end_date, [method] )
start_date and end_date are the two dates to calculate the difference between.
method is optional. It is a boolean value - either TRUE or FALSE. If TRUE is entered, the DAYS360 function will use the US method. If FALSE is entered, the DAYS360 function will use the European method.
The DAYS360 function can be used in the following versions of Microsoft Excel:
- Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Excel Function
The DAYS360 function can be used in Microsoft Excel as:
- Worksheet function (WS)
DAYS360 Examples (as Worksheet Function)
Let's look at some Excel DAYS360 function examples and explore how you would use the DAYS360 function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following DAYS360 function examples would return:
|=DAYS360(A1, A2, TRUE)||would return 359|
|=DAYS360(A3, A2, TRUE)||would return 15|
|=DAYS360("30-Nov-2012", "1-Dec-2012")||would return 1|