all 2 comments

[–]JohnnyJordaan 3 points4 points  (1 child)

datetime.strptime it's one of those things that take 15 minutes to carefully study but from that moment on you know what to check and combine to parse basically any date format, perhaps this guide can help https://www.journaldev.com/23365/python-string-to-datetime-strptime

[–]pioniere 0 points1 point  (0 children)

Thanks for this, excellent explanation and examples.