Added findDiffDates function.