i have a timestamp that looks like this 2015-11-06T14:20:14.011+01:00
. I would like to parse it to datetime.
I have the idea that i can use %Y-%m-%dT%H:%M:%S.%f%z
as representation of this.
But the problem is the colon in the timezone. How can i remove the colon in the Timezone or is there a better way as the %z
?