This macro calculates and returns increments and decrements using dates.