“Can someone let me know what I am doing wrong and provide a solution?“
Just to make it clear: the “+00“ bit at the end most likely indicates the timezone:
https://en.wikipedia.org/wiki/Time_zone
And not fractional seconds like you specified. The solution is to specify the timezone in the input format (i.e. Z or X or as a literal).