title: DateTime ParseExact Throws Exception
body: <p>Well i am trying to parse that date</p>
  
  <blockquote>
    <p><strong>5/10/2013 002704</strong></p>
  </blockquote>
  
  <pre><code>        var stt = "5/10/2013 002704";
          result = DateTime.ParseExact(stt, "dd-MM-yyyy HHmmss", CultureInfo.InvariantCulture);
  </code></pre>
  
  <p>but i get this <strong>Exception</strong></p>
  
  <blockquote>
    <p><strong>String was not recognized as a valid DateTime.</strong></p>
  </blockquote>
  
  <p><strong>However!,</strong> this code works to parse only the time <code>*without date*</code></p>
  
  <pre><code>        var stt = "002704";
          result = DateTime.ParseExact(stt, "HHmmss", CultureInfo.InvariantCulture);
  </code></pre>
  
  <p>Well i hope someone helps me with that problem and thanks in advance...</p>
  
  <p><strong>HINT</strong> : THIS ALSO FAILS</p>
  
  <pre><code>    var stt = "5/10/2013 002704";
      result = DateTime.ParseExact(stt, "dd/MM/yyyy HHmmss", CultureInfo.InvariantCulture);
  </code></pre>
  
  <p><em><strong>Well it works! thanks to every one helped me here for his\her very nice help that i really appreciate very much. Also i will take the XY Problem into account next time :D.</em></strong></p>