Have you tried altering the regional settings of the Date/Time format on the
machine?  I remember we had some trouble with a D1 app ages ago with a
DTPicker and we had to alter the win.ini file.  I think it's under [itnl]
and there is a shortdate and longdate format.

Tony Sinclair
Holliday Group Limited
Christchurch
New Zealand


-----Original Message-----
From: Leo Ramakers [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 4 October 2000 16:29
To: Multiple recipients of list delphi
Subject: Re: [DUG]: EConvert error on date time picker


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"
---------------------------------------------------------------------------
    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