DateTime date;
date.ToString("dddd, " + CurrentCultureInfo.DateTimeFormat.ShortDatePattern);
If you always want the date pattern to be MM/dd/yyyy
, then specify that:
string format = "dddd, MM/dd/yyyy";
Note that the "/" part is also locale-specific; if you want it to always be a forward-slash, you should escape it:
string format = "dddd, MM'/'dd'/'yyyy";
If that's not what you were looking for, please update your question to make it clear exactly what you're doing (with sample code), the result you're getting, and the result you want.
You can use the following:
DateTime date;date.ToString("dddd, MM/dd/yyyy");