Hi,

I'm trying to customize a DateTimePicker to "dd-MM-yyyy" and not "dd/MM/yyyy", wich is the actual format. I used the following code, that didn't work:
Code:
DateTimePicker1.Format = DateTimePickerFormat.Custom
        DateTimePicker1.CustomFormat = "dd-MM-yyyy "
Does anyone knows how can i overcome this problem?
Thanks