- Advanced Excel Functions Tutorial
- Advanced Excel Functions - Home
- Compatibility Functions
- Advanced Excel Functions - Cube
- Database Functions
- Date & Time Functions
- Engineering Functions
- Financial Functions
- Information Functions
- Advanced Excel Functions - Logical
- Lookup & Reference Functions
- Math & Trignometric Functions
- Statistical Functions
- Useful Resources
- Quick Guide
- Useful Resources
- Discussion
Date and Time - DAYS360 Function
Description
The function DAYS360 returns the number of days between two dates based on a 360-day year (twelve 30-day months), which is used in accounting calculations.
Syntax
DAYS360 (start_date,end_date,[method])
Arguments
Argument | Description | Required/ Optional |
---|---|---|
Start_date | The two dates between which you want to know the number of days. | Required |
end_date | If start_date occurs after end_date, the DAYS360 Function returns a negative number. Dates should be entered by using the DATE Function, or derived from the results of other formulas or functions. Problems can occur if dates are entered as text. |
Required |
Method | A logical value that specifies whether to use the U.S. or European method in the calculation. Look at the Method Table below. |
Optional |
Method Table
Method | Defined |
---|---|
FALSE or omitted | U.S. (NASD) method. If the starting date is the last day of a month, it becomes equal to the 30th day of the same month. If the ending date is the last day of a month and the starting date is earlier than the 30th day of a month, the ending date becomes equal to the 1st day of the next month; otherwise, the ending date becomes equal to the 30th day of the same month. | TRUE | European method. Starting dates and ending dates that occur on the 31st day of a month become equal to the 30th day of the same month. |
Notes
Excel stores dates as sequential serial numbers so that they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,447 days after January 1, 1900
If either of the specified start_date or end_date arguments is a numeric value, but not recognized as valid date, DAYS360 returns the #NUM! error value.
If either of the specified start_date or of end_date arguments is a text value that cannot be interpreted as date, DAYS360 returns the #VALUE! error value.
If the specified method argument is non-numeric, DAYS360 returns the #VALUE! error value.
Applicability
Excel 2007, Excel 2010, Excel 2013, Excel 2016