I get an error saying that the format is different from the ISO format and I can't seem to convert it to date type. What should I do?
import datetime
timestamp1='2022-03-03T14:13:52.847000+00:00'
timestamp2='2022-03-03T12:50:26.785000+00:00'
time = datetime.date.fromisoformat(timestamp1) - datetime.date.fromisoformat(timestamp2)
print(time)
ValueError: Invalid isoformat string: '2022-03-03T14:13:52.847000+00:00'