Calculates the number of days between two dates based on a 360-day year