📅  最后修改于: 2022-03-11 14:48:48.233000             🧑  作者: Mango
Set the Format to Custom and then specify the format:
dateTimePicker1.Format = DateTimePickerFormat.Custom;
dateTimePicker1.CustomFormat = "MM/dd/yyyy hh:mm:ss";