Subject | Re: [IBO] IB_Date wrong date formatting |
---|---|
Author | Hie Joen |
Post date | 2001-12-11T16:11:26Z |
Try to add these lines in your project source.
SysUtils.ShortDateFormat := 'dd/mm/yy';
UpdateFormatSettings := False;
HJ
the last two. If you leave without edit it again is ok, but if you edit, for
instance, the month, the date conversion generates an error.
SysUtils.ShortDateFormat := 'dd/mm/yy';
UpdateFormatSettings := False;
HJ
> I've also noticed a problem with IB_Date when display format is:re-entered, the first two digits of the year are put on the field instead of
> dd/mm/yyyy
> and edit mask is:
> 99/99/99
> since the field is edited ok, and properly formatted when exited, but once
the last two. If you leave without edit it again is ok, but if you edit, for
instance, the month, the date conversion generates an error.
> (i.e. --> 10/12/01 is then displayed 10/12/2001. When re-entered theIB_Edit shows 10/12/20).