This functions compares two dates and gives back the difference.
date1: Date
date2: Date
Last updated 2 years ago