privae DateTime convertDate() { string inputDate = "20140214"; DateTime outputDate = Convert.ToDateTime(inputDate.Substring(4, 2) + "/" + inputDate.Substring(5, 2) + "/" + inputDate.Substring(0, 4)); return outputDate; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)