I am getting this exception:
String was not recognized as a valid DateTime
for this string:
2012-10-03T10:41:22.988401+01:00
using this code:
DateTime.ParseExact(TheStringAbove, "o", CultureInfo.InvariantCulture, DateTimeStyles.None);
I know that the DateTime string is UTC. Is there anything wrong with the code? Thanks.