base = datetime.datetime.today() date_list = [base - datetime.timedelta(days=x) for x in range(numdays)]