Advertise with us

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

Hi Developers,

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

Thank in Advance.
Last updated:7/9/2013 2:12:14 AM

1 Answers

Dev Patel
Dev Patel

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