myDateTimePicker.Format = DateTimePickerFormat.Custom; myDateTimePicker.CustomFormat = "dd/MM/yyyy";
CustomFormat
public void SetMyCustomFormat() { // Set the Format type and the CustomFormat string. dateTimePicker1.Format = DateTimePickerFormat.Custom; dateTimePicker1.CustomFormat = "dd/MM/yyyy"; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)