i have a string which is "26052014153850" it is in the format of date month year hour minute second. i want to convert this to date and time format but its showing string is not recognized as valid date and time
string result ="26052014153850";
DateTime dt = DateTime.ParseExact(result, "dd/MM/yyyy/HH/mm/ss", CultureInfo.InvariantCulture);