I have this string:
date_string = "2022-04-11 00:00:00.000000"
which I'm trying to convert to this format:
date = "2022-04-11T00:00:00.000Z"
Can anyone please help me with the same
i tried to do this but am getting Error like invalid format
datetime.strptime(date_string, "%Y-%m-%dT %H:%M:%S%z")