I have a string of the next format \"ORDER20100322194007\", where 20100322 is a date and 194007 is a time. How to parse a string and g
\"ORDER20100322194007\"
20100322
194007
You can use DateTime.ParseExact method to specify the format that should be used while parsing.