DAYS
EngineDate
Returns the number of days between two dates. The end date comes first, as in spreadsheet applications.
Example
Code
Parameters
- endDate: valid date from
0001-01-01through9999-12-31inYYYY-MM-DDformat - startDate: valid date in the same range and format
Returns
The number of calendar days from startDate to endDate. The result is negative when endDate is
earlier. Returns null when either argument is blank. A malformed date raises a calculation error.
Last modified on