DateDifference

WMA link


DateDifference[$date_1$, $date_2$]

returns the difference between $date_1$ and $date_2$ in days.

DateDifference[$date_1$, $date_2$, unit]

returns the difference in the specified unit.

DateDifference[$date_1$, $date_2$, {$unit_1$, $unit_2$, ...}]

represents the difference as a list of integer multiples of each unit, with any remainder expressed in the smallest unit.

AbsoluteTiming
DateList