Hi Leo,

You could try setting ShortDateTimeFormat to dd/mmm/yy?

Regards,

Bevan


Leo Ramakers wrote:
> 
> Bevan
> 
> > Why not use 30/12/99?  Or 30-Dec-99?
> 
> The DateTimePicker converts it into its own format. I need to figure out how the 
>system uses the global variables Short and LongDateTimeFormat, they seem to affect the
> variuos date routines.
> 
> thanks for considering it anyway.
> 
> Leo
> 
> >
> >
> > Regards,
> >
> > Bevan
> >
> > Leo Ramakers wrote:
> > >
> > > hi
> > > I have a maddening problem that shows up sporadically during a form startup 
>where the form contains a datetime picker. The date is set to, say 30/Dec/99, and the
> > > startup complains "EConvertError - 30/Dec/99 is not a valid date" and the 
>program bombs.
> > >
> > > Any clues as to how to stop this
> > >
> > > many thanks
> > > Leo
> > >
> > > ---------------------------------------------------------------------------
> > >     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > >                   Website: http://www.delphi.org.nz
> > > To UnSub, send email to: [EMAIL PROTECTED]
> > > with body of "unsubscribe delphi"
> >
> > --
> > Bevan Edwards                           mailto:[EMAIL PROTECTED]
> > Achieve Software Limited                http://www.achieve.co.nz
> > Phone:  (64-9) 444-4210                 ICQ: 732011
> > Fax:    (64-9) 444-4201
> > Mobile: (64-21) 979-603
> > ---------------------------------------------------------------------------
> >     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
> > To UnSub, send email to: [EMAIL PROTECTED]
> > with body of "unsubscribe delphi"
> 
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"

-- 
Bevan Edwards                           mailto:[EMAIL PROTECTED]
Achieve Software Limited                http://www.achieve.co.nz
Phone:  (64-9) 444-4210                 ICQ: 732011
Fax:    (64-9) 444-4201
Mobile: (64-21) 979-603
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to