While I am running this script,
dayfilename = (datetime.strptime(day, \'%d-%m-%Y\') + timedelta(days=-1)).strftime(format=\'%d%m%Y\') dayfilename = str(dayfil