Subject Displaying a TIME field
Author Christian Gütter
Hi,

I have got a dialect3 database (IB 6.01) which is
accessed using IBO.

In this DB, there is a table which contains a column
which is declared as TIME.

The program my customers currently use is based on an
early IBO4 version. The contents of these TIME fields
are displayed in a grid in the following way:
"16:23:12" (hour:minute:second).

Recently, I have downloaded a newer IBO version (4.2Hc)
and have the problem that these colums were now displayed
in the follwing way: "30.12.1899 16:23".
When I set the NODATE option in my IB_Query then the column
shows "16:23". But still it doesn't show the seconds.

My questions are:
- How do I show the seconds? Using a display mask?
- Is there a change in IBO causing this behaviour? I quite sure
it's not my program which change, because I checked my CVS sources.
I found this in the release notes?
{ Dirk Schiffler <ds@...>
}
{ 05/04/2002
}
{ an Enhancement in TIB_Column.GetDisplayText
}
{ If no DisplayFormat defined for DateTime values, then the standard
}
{ should be the global variables ShortDateFormat and/or
ShortTimeFormat }
{ and not any mask.
}

As far as I understand it, this might be a reason for the new behaviour,
but if it isn't, I have to look again.


TIA,

Christian