How can I change this naive time to UTC time in python
The time is 2021-08-05T08:32:47.362000Z
st= "2021-08-05T08:32:47.362000Z"
dt = datetime.strptime(st,"%Y-%m-%d %H:%M:%S.%fZ")
I don't know how to parse this time in python. The above given code is what I know I don't know to parse this time.
So this time has been fetched from Django database and what I inserted is a UTC time and I got the above time as a result.
The thing is I need to get utc time.