title: The string was not recognized as a valid DateTime. There is an unknown word starting at index 0
body: <p>I have the following C# that is giving me the error above when trying to parse string to datetime.</p>
  
  <pre><code>DateTime backupdate = System.Convert.ToDateTime(imageflowlabel.Text);   
  DateTime currentdate = System.DateTime.Now.AddHours(-2);    
  int result = currentdate.CompareTo(backupdate);
  </code></pre>
  
  <p><code>imageflowlable.text</code> looks like this <code>2012-04-15 15:23:34:123</code></p>
  
  <p>Any ideas on how to convert this?</p>
  
  <p>Thanks</p>