This date comparison function takes the day, month, and year into account for matching. If relative distance calculation is specified, the relative distance is specified in days.