Convert string 10/29/2010 according to users culture
<p>How can I convert the english date 10/29/2010 or any language date to user culture date format</p>

<p>I am using the following code </p>

<pre><code> CultureInfo cultureInfo = System.Threading.Thread.CurrentThread.CurrentCulture;
            cultureInfo.DateTimeFormat.
            string lng = cultureInfo.TwoLetterISOLanguageName;
            DateTime dateTime = DateTime.Parse("10/29/2010", cultureInfo);
</code></pre>

<p>but it throws error when I try to parse it.</p>

<p>Any Idea how can I resolve this issue</p>

<p>Thanx</p>
