DateTime Format in "20111122"
<p>i have this code (C#.net)</p>

<pre><code>  DateTime time = DateTime.Now;              
  MessageBox.Show(time.ToString());
</code></pre>

<p>this shows the date in "11/22/2011 11:10:07 PM" format;</p>

<p>how can i show datetime in "20111122" format  using C#.net  . please advice :)</p>
