title: Converting 6 digit number to date
body: <p>I would like to convert the string <code>940226</code> to the date <code>26/02/1994</code>. The code below gives an error saying </p>
  
  <blockquote>
    <p>the string is in an incorrect format</p>
  </blockquote>
  
  <pre><code>CultureInfo provider = CultureInfo.InvariantCulture;
  String date = "940226";
  Stringdate = DateTime.ParseExact(date, "ddmmyyyy", provider).ToString();
  </code></pre>