DAYS(end_date,start_date)
end_date: ending date serial value
start_date: starting date serial value
DAYS returns the positive or negative number of days from start_date to end_date.
This function is OpenFormula compatible.
DATEDIF.