The current text is
Semantics: Returns the number of days between two dates. If StartDate and EndDate are Numbers, this is EndDate – StartDate. If they are both Text, this is DATEVALUE(StartDate) – DATEVALUE(EndDate).
Notice that for Numbers it is EndDate-StartDate, but for Text the other way round.