how to get desired datetime format
<p>i want to generate current date and time in a format like this  <strong>Mon, 10/08/12 12:29:39</strong> . But when i used a code shown below</p>

<pre><code>DateTime date = DateTime.Now; 
</code></pre>

<p>i am getting like <strong>10/8/2012 12:29:39 PM</strong> , but i actually want a format like <strong>Mon, 10/08/12 12:29:39</strong> , what change in this code i can use to get the desired output.
I did this code also ,but didnt success</p>

<pre><code>string format = "MMM ddd d HH:mm yyyy";    // Use this format
    Console.WriteLine(time.ToString(format));
</code></pre>
