DATEDIF function

description:

Get days, months, or years between two dates.

 

syntax:

=DATEDIF( start_dateend_dateunit )

 

required arguments:

start_date The start date.
end_date The end date.
unit The time unit.