DateTime dt = new DateTime(); string lstrDate = "2013-01-21 14:58:00.000"; dt = Convert.ToDateTime(lstrDate); string lstrADate = dt.ToString("yyyy-MM-dd");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)