I have a string like this: 250920111414
I want to create a DateTime object from that string. As of now, I use substring and do it like this:
string d
string iDate = "05/05/2005"; DateTime oDate = Convert.ToDateTime(iDate); DateTime oDate = DateTime.ParseExact(iString, "yyyy-MM-dd HH:mm tt",null);
DateTime Formats