how to get rid of the slashes in datetime variables c#

78

how to get rid of the slashes in datetime variables c# -

DataTime d = new DateTime(2010, 05, 06);
string s = d.ToString("MMddyyyy");

Comments

Submit
0 Comments