### Excel DAYS360 Function

This Excel Tutorial demonstrates how to use the Excel DAYS360 Function in Excel to count the number of days between dates, with formula examples.

## DAYS360 Function Description:

The DAYS360 Function Returns the number of days between two dates based on a 360 day year.

## Formula Examples:

ExampleFormulaResult
Positive=DAYS360(C5,D5)-437
Negative=DAYS360(C6,D6)437
US Method=DAYS360(C7,D7)-437
European Method=DAYS360(C8,D8)437

## Syntax and Arguments:

The Syntax for the DAYS360 Formula is:

### Function Arguments ( Inputs ):

start_date – The start date in Excel serial number format or entered as a date with quotations (“s) surround the date. Example: You can not enter 11/12/2015 directly into the cell. Instead you need to enter “11/12/2015” or you would need to use the corresponding serial number: 42320. Alternatively, you can reference a cell with the date 11/12/2015 entered. Excel automatically converts dates stored in cells into serial format (unless the date is entered as text).

end_date – The end date in Excel serial number format or entered as a date with quotations (“s) surround the date. Example: You can not enter 11/12/2015 directly into the cell. Instead you need to enter “11/12/2015” or you would need to use the corresponding serial number: 42320. Alternatively, you can reference a cell with the date 11/12/2015 entered. Excel automatically converts dates stored in cells into serial format (unless the date is entered as text).

method – OPTIONAL. TRUE for European method. FALSE for US method. If ommitted, default to FALSE (US Method). Example: TRUE.

Use the DAYS Function to count the number of days between dates. Simply enter the two dates. If the end_date is earlier than the start date, DAYS will return a negative value.

If method is FALSE or Omitted then DAYS360 Function behaves exactly the same as the DAYS Function. If method is TRUE then the EUROPEAN method is used where the 31st day of months are treated as the 30th day of the month.

## DAYS360 Examples in VBA

You can also use the DAYS360 function in VBA. Type:
`application.worksheetfunction.days360(start_date,end_date,method)`
For the function arguments (start_date, etc.), you can either enter them directly into the function, or define variables to use instead.

## How to use the DAYS360 Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
`=AND(`
After entering it in the cell, notice how the AND formula inputs appear below the cell:

You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=DAYS360(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions: