I have a date represented as a string thus
20130116154407
I called DateTime.Parse on this but it failed. How can I convert this to a DateT
Try DateTime.ParseExact
DateTime.ParseExact
var dt = DateTime.ParseExact("20130116154407", "yyyyMMddhhmmss", CultureInfo.InvariantCulture);