I thought this would be a really simple, and i\'ve tried to google it and I keep getting the exception String was not recognized as a valid DateTime.
String was not recognized as a valid DateTime.
This i
Your string appears to be in format of "Xml-serialized". So it is the job of XmlConvert.
XmlConvert
string sample = "2013-10-21T14:10:49"; string converted = XmlConvert.ToDateTime(sample, XmlDateTimeSerializationMode.Unspecified) .ToString("MM/dd/yyyy HH:mm", CultureInfo.InvariantCulture);