how do i convert string to datetime in c#
<blockquote>
  <p><strong>Possible Duplicates:</strong><br>
  <a href="http://stackoverflow.com/questions/1989342/convert-string-to-datetime-using-c">Convert string to datetime Using C#</a><br>
  <a href="http://stackoverflow.com/questions/919244/converting-string-to-datetime-c-net">Converting String to DateTime C#.net</a>  </p>
</blockquote>



<p>Hi,
I have a string which consists of datetime in the format dd/mm/yyyy hh:mm:ss.ms</p>

<p>i.e. date/month/year hours:minutes:seconds.milliseconds. eg. 18/03/2011 15:16:57.487</p>

<p>How do I convert this string to datetime using c#</p>

<p>Regards
cmrhema.</p>
