Syntax
=DAYS360(start_date, end_date, [method])Arguments
| Argument | Required | Description |
|---|---|---|
start_date | Required | The first date |
end_date | Required | The second date |
method | Optional | FALSE or left out for the US method, TRUE for the European method |
How to use DAYS360
DAYS360 takes 2 required arguments and 1 optional argument. Type =DAYS360( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=DAYS360(DATE(2011,1,30), DATE(2011,2,1))Result =DAYS360(DATE(2011,1,1), DATE(2011,12,31))Result Related date and time functions
- DATEDIFCounts the whole days, months or years between two dates.
- DATEVALUEConverts a date written as text into a date serial number.
- DAYReturns the day of the month (1 to 31) of a date.
- DAYSReturns the number of days between two dates.
- EDATEReturns the date a number of months before or after a date, on the same day of the month where possible.
- EOMONTHReturns the last day of the month a number of months before or after a date.
- HOURReturns the hour (0 to 23) of a time.
- ISOWEEKNUMReturns the ISO week number of the year (weeks start on Monday, week 1 contains the first Thursday).
- MINUTEReturns the minute (0 to 59) of a time.