I\'m trying to calculate the dates of the current and the previous 6 days. This should work by simply subtracting 1 from the previous date, so I implemented my current solut