string output = DateTime.ParseExact("890724","yyMMdd",null).ToString("ddMMyy");
string str, resStr; str = "890724"; //// formate yy/mm/dd resStr = str.Substring(4, 2) + str.Substring(2, 2) + str.Substring(0, 2); //format dd/mm/yy Response.Write(resStr);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)