How do I translate an ISO 8601 datetime string into a Python datetime object? [duplicate]
This question already has answers here: How do I parse an ISO 8601-formatted date? (28 answers) Closed 7 years ago. I’m getting a datetime string in a format like “2009-05-28T16:15:00” (this is ISO 8601, I believe). One hackish option seems to be to parse the string using time.strptime and passing the first six elements of … Read more