string n = dateTimePicker1.Value.ToString("yyyy-MM-dd");
string fromFormat = "dd/MM/yyyy"; string toFormat = "yyyy-MM-dd"; DateTime newDate = DateTime.ParseExact("07/11/2014", fromFormat, CultureInfo.InvariantCulture); string n = newDate.ToString(toFormat);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)