DAYS360 Function
The DAYS360 function is one of the date and time functions. Is used to return the number of days between two dates (start-date and end-date) based on a 360-day year using one of the calculation method (US or European).
The DAYS360 function syntax is:
DAYS360(start-date, end-date [,method-flag])
where
start-date and end-date are two dates you wish to calculate the number of days between.
method-flag is an optional logical value: TRUE or FALSE. If it is set to TRUE, the calculation will be performed using the European method, according to which the start and end dates that occur on the 31st of a month become equal to the 30th of the same month.
If it is FALSE or omitted, the calculation will be performed using the US method, according to which if the start date is the last day of a month, it becomes equal to the 30th of the same month. If the end date is the last day of a month and the start date is earlier than the 30th of a month, the end date becomes equal to the 1st of the next month. Otherwise the end date becomes equal to the 30th of the same month.
To apply the DAYS360 function,
- select the cell where you wish to display the result,
- click the Insert Function icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click the icon situated at the formula bar, - select the Date and time function group from the list,
- click the DAYS360 function,
- enter the required arguments separating them by commas,
- press the Enter button.
The result will be displayed in the selected cell.