(Python 3.5)
I have this string:
2021-05-05T13:13:56+00:00
I want to transform it to date object to perform latter actions on it.
I've tried the following:
d= "2021-05-05T13:13:56+00:00"
dt = datetime.strptime(d, '%Y-%m-%dT%H:%M:%S')
Which trows, as expected:
ValueError: unconverted data remains: +00:00
I do not know what are exactly these elements and, refering to this, I do not find what it could refer to.
How to convert this string as a date object ?