设置默认为日期与时间datepick控件显示方式 this.dtpStart.CustomFormat = “yyyy-MM-dd HH:mm:ss”; this.dtpStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom;