On Jan 24, 12:48*pm, jleslie48 <j...@jonathanleslie.com> wrote:
> On Jan 24, 12:47*pm, jleslie48 <j...@jonathanleslie.com> wrote:
>
>
>
> > 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);
> > * * * * //
>
> for reference: * I'm on Windows XP professional, with MS visual C#
> 2010 express
ok, this is the only article I can find on the subject:
http://social.msdn.microsoft.com/For...2-59855c1f450a
it says its an "undocumented MS feature" that datetimepicker in
fractions is broken...err, designed to not do fractions.
can anybody confirm or deny this?
I guess my best solution is to make up a new input box for the
fraction part?