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:
Does anyone knows how can i overcome this problem?Code:DateTimePicker1.Format = DateTimePickerFormat.Custom DateTimePicker1.CustomFormat = "dd-MM-yyyy "
Thanks




Reply With Quote