I need to change the string format of the DatePickerTextBox in the WPF Toolkit DatePicker, to use hyphens instead of slashes for the seperators.
Is there a way to ov
XAML
C#
var date = Convert.ToDateTime(datePicker.Text).ToString("yyyy/MM/dd");
put what ever format you want in ToString("") for example ToString("dd MMM yyy") and output format will be 7 Jun 2017