I am currently working with a given time in the following format
"2022-03-21T12:14:28.725Z"
I want to compare this time I get from the internet to the local datetime.datetime.utcnow().timestamp()
but I can't seem to get the conversion from string to unix timestamp right. Especially with the milliseconds.
I have already tried to use datetime.fromisoformat('2022-03-21T12:14:28.725Z')
but no luck there.
To better understand my situation I am doing this to check the time off-set between a Server and my local machine.