date try parse with dateformat as dmy
<p>how do i make the following a valid date?</p>

<pre><code>class Program
{
    static void Main(string[] args)
    {

        DateTime testResult;
        DateTime.TryParse("31/1/2012", out testResult);

    }
}
</code></pre>
