Oct-16-2019, 08:00 AM
You should try to make .strptime to work and then use it in lambda. Something like:
>>> datetime.datetime.strptime('31.12.2018 23:54', '%d.%m.%Y %H:%M') # whichever version of it works in your settings datetime.datetime(2018, 12, 31, 23, 54)I personally use startup.py file which loads before interactive session starts and in this file I use 'import datetime'
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.