Calculates the number of days, months, or years between two dates.
DATEDIF(start_date, end_date, unit)
Units: "Y" years, "M" months, "D" days, "YM" months ignoring years, "YD" days ignoring years.
Need expert help? โ