title: DateTime.Parse date format
body: <p>I have a date represented as a string thus</p>
  
  <pre><code>20130116154407
  </code></pre>
  
  <p>I called DateTime.Parse on this but it failed.  How can I convert this to a DateTime?  Incidentally the timezone is CET.</p>
  
  <p><strong>EDIT</strong> </p>
  
  <p>The solutions provided are very useful, so far but it seems they do not support 24 hour clocks, still looking for a solution that does.</p>
  
  <p><strong>EDIT 2</strong></p>
  
  <p>The correct format is</p>
  
  <pre><code>DateTime.ParseExact(str, "yyyyMMddHHmmss", CultureInfo.InvariantCulture)
  </code></pre>
  
  <p>Thanks,</p>
  
  <p>Sachin</p>