J
jleslie48
Using format: custom,
I try and enter: "yyyy-MM-dd HH:mm:ss ffff"
but no matter what I do, the display shows the letters ffff instead of
the 4 digits of the fractional part of the second and the input box
wont let me type on the ffff letters. Any ideas?
//
// dateTimePicker1
//
this.dateTimePicker1.AllowDrop = true;
this.dateTimePicker1.CustomFormat = "yyyy-MM-dd HH:mm:ss
ffff";
this.dateTimePicker1.Format =
System.Windows.Forms.DateTimePickerFormat.Custom;
this.dateTimePicker1.Location = new
System.Drawing.Point(12,27);
this.dateTimePicker1.MaxDate = new
System.DateTime(2100,12,31,0,0,0,0);
this.dateTimePicker1.MinDate = new
System.DateTime(1990,1,1,0,0,0,0);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(202,20);
this.dateTimePicker1.TabIndex = 9;
this.dateTimePicker1.ValueChanged += new
System.EventHandler(this.dateTimePicker1_ValueChanged);
//
I try and enter: "yyyy-MM-dd HH:mm:ss ffff"
but no matter what I do, the display shows the letters ffff instead of
the 4 digits of the fractional part of the second and the input box
wont let me type on the ffff letters. Any ideas?
//
// dateTimePicker1
//
this.dateTimePicker1.AllowDrop = true;
this.dateTimePicker1.CustomFormat = "yyyy-MM-dd HH:mm:ss
ffff";
this.dateTimePicker1.Format =
System.Windows.Forms.DateTimePickerFormat.Custom;
this.dateTimePicker1.Location = new
System.Drawing.Point(12,27);
this.dateTimePicker1.MaxDate = new
System.DateTime(2100,12,31,0,0,0,0);
this.dateTimePicker1.MinDate = new
System.DateTime(1990,1,1,0,0,0,0);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(202,20);
this.dateTimePicker1.TabIndex = 9;
this.dateTimePicker1.ValueChanged += new
System.EventHandler(this.dateTimePicker1_ValueChanged);
//