How do you convert a string such as 2009-05-08 14:40:52,531 into a DateTime?
2009-05-08 14:40:52,531
DateTime
I tried various ways. What worked for me was this:
Convert.ToDateTime(data, CultureInfo.InvariantCulture);
data for me was times like this 9/24/2017 9:31:34 AM
data