It is usually good idea to take advantage of stuff which is built-in into Python for specific reason.
>>> from datetime import datetime, timedelta >>> my_date = '25.01.2020' >>> date = datetime.strptime(my_date, '%d.%m.%Y') >>> date datetime.datetime(2020, 1, 25, 0, 1) >>> date + timedelta(7) datetime.datetime(2020, 2, 1, 0, 1)If data in tabular form you may look into Pandas.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.