I am using c#. I have a problem i am unable to remove the time format from datetime variable . Here is my code.
string Date = ds.Tables[0].Rows[0]["serviceDate"].ToString();
string ServiceDate = string.Format("{0:MM/dd/yyyy}", Date);
How to remove the time from this format?