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
You could use:
DateTime dt = DateTime.ParseExact( date, "ddMMyyyyHHmm", CultureInfo.InvariantCulture);