I am stuck on how to convert this strong to a datetime object. This is what I tried:
import datetime
date_time_str = "2021-07-28 11:19:36.824150+00:00"
date_time_obj = datetime.datetime.strptime(date_time_str, '%y-%m-%d %H:%M:%S.%f%z')
However, I keep getting the
ValueError: time data '2021-07-28 11:19:36.824150+00:00' does not match format.
What is the correct format?