Calculate a date range in the past from a certain moment