I have a date that is stored as a string in the format YYYYDDMM. I would like to display that value in a \'MM/DD/YYYY\' format. I am programming in c#. The current code tha
You want the method DateTime.ParseExact.
DateTime date31 = DateTime.ParseExact(strOC31date, "yyyyddMM", CultureInfo.InvariantCulture);