I want to convert a string to datetime.
The string is:
date_created = "2016-10-22T16:27:54+0000"
And I am trying to convert that with:
datetime.strptime(date_created, '%y-%m-%dT%H:%M:%S+0000')
but the format does not match.
So, what is the correct format to use?