How can I convert '2021-11-21T18:57:18.000+01:00' from json to datetime in Python?
timestamp = datetime.datetime.strptime(timestamp, "%Y-%m-%dT%H:%M:%S.%fZ")
is giving me error:
ValueError: time data '2021-11-21T18:57:18.000+01:00' does not match format '%Y-%m-%dT%H:%M:%S.%fZ'