How to format date in c# like (Mon, 03/30/2013) ?

Total Post:28

Points:196
C# 
C#
 1490  View(s)
Ratings:
Rate this:
Hi Developers,

I wants to format date like Mon, 03/30/2013 in c#

Thank in Advance.
  1. Post:26

    Points:182
    Re: How to format date in c# like (Mon, 03/30/2013) ?

    Hi C G E Mannerheim,

    Use Following line of code :
    DateTime dt = new DateTime();
    string date = dt.ToString("ddd, MM/dd/yyyy", CultureInfo.InvariantCulture);

Answer