Subject | Re: [IBO] Re: Masking problem with TDateTime field |
---|---|
Author | Lester Caine |
Post date | 2006-08-17T05:48:01Z |
mspencewasunavailable wrote:
more fun since the preferred format for MY customers is dd/mm/yyyy and
some of the time IBO correctly converts that to m/d others it does not
and I have to handle it myself. You will not have that problem, but
certainly setting the short date format at the start of the program
kills many of the holes - just not necessarily all of them :(
--
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop -
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php
> Here's the complete stack from the OnChange event handler, when theThis is one of the annoying problems with dates in general. I have even
> data gets put into the field. If I change the Windows short date to
> MM/dd/yyyy, so that there's a leading 0 (08/16/2006), then
> everything's fine.
>
> When the short date is M/d/yyyy (evidently the default) it seems
> that the string passed in is 8/16/2005 and isn't really lining up
> with the mask.
more fun since the preferred format for MY customers is dd/mm/yyyy and
some of the time IBO correctly converts that to m/d others it does not
and I have to handle it myself. You will not have that problem, but
certainly setting the short date format at the start of the program
kills many of the holes - just not necessarily all of them :(
--
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop -
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php