I got a bunch of DateTime-Strings I want to parse into a c# DateTime.
2009-06-18 02:10:31.296761+00
2009-06-18 02:13:34.049145+00
2009-01-06 23:52:21.510121+00
2009-06-18 02:17:57.268252+00
2010-01-22 03:31:26.512496+00
2009-06-18 01:32:37.930961+00
I'm currently trying to get the DateTime-Object with the following line of code:
DateTime.ParseExact(str, "yyyy-MM-dd HH:mm:ss.FFFK", CultureInfo.InvariantCulture, DateTimeStyles.None);
But I'm always getting a System.FormatException.
Tin the middle rather than a SPACE. For example,2009-06-18T02:10:31.296761+00. A SPACE is optionally allowed only on special arrangement by both parties of the data exchange, sender and recipient.