The string was not recognized as a valid datetime
<pre><code>   objfile.dateFileDate=convert.ToDatetime(Format(txtdate.text,"MM/dd/yyyy hh:mm"))
</code></pre>

<p>following error is coming </p>

<blockquote>
  <p>The string was not recognized as a
  valid datetime .There is an unknown
  word starting at 0.</p>
</blockquote>

<p>What should i do to save this datetime,
please help</p>
