Convert date c#
<p>I have a date with the following format:</p>

<pre><code>20/01/2011 7:15:28 PM
</code></pre>

<p>I need to convert it to something like:</p>

<pre><code>2011-01-20 09:24:06
</code></pre>

<p>How would I do this?</p>

<p>Thanks in advance.</p>
