title: How to convert string to date time
body: <pre><code> string value =     "Sat Apr 28 2012 11:00:00 GMT-0400 (Eastern Daylight Time)"
  </code></pre>
  
  <p>I need to convert to date time</p>
  
  <p>I tried doing:</p>
  
  <pre><code> DateTime datetime = DateTime.ParseExact(value, "MM/dd/yyyy hh:mm", null);
  </code></pre>
  
  <p>or</p>
  
  <pre><code> DateTime datetime2 = Convert.ToDateTime(value);
  </code></pre>
  
  <p>Exception: String was not recognized as a valid DateTime.</p>