Learn step by step how to use the DATEDIF Function in Excel. DATEDIF Function calculates the number of days, months, or years between two dates.