DateTime conversion from string C#

That’s not a valid date format.

To highlight the issue is 1112014 the 1st of Nov or 11th of Jan?

If you have some sort of convention that allows you to determine which date it refers to in these instances you could do some sort of pre – processing or parse the string manually but you’re not going to find anything ‘built in’ for that format

Leave a Comment