Subject | Re: [firebird-support] Firebird Time type field clarification |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2003-07-08T04:31:37Z |
On 7 Jul 2003 at 16:17, Don Gollahon wrote:
use isc_encode/decode_time for converting from Delphi TDateTime
into/from IB native time format. Write to the autors and complain.
UIB handled time correctly.
If you don't want to change the component set you can use an
generated query with string literals.
SY, Dimitry Sibiryakov.
> query.parambyname('call_time').astime := vtime;I'd say you use wrong component set. At least IBX and FIB+ (AFAIK)
>
>As I step thru the code, I see that vtime has the fractions of a day
>but query.parambyname('call_time').astime has lost the fraction after
>the assignment. Same happens if I use asdatetime. This works in our
>old tables when the call_date and call_time were together in a single
>timestamp field.
use isc_encode/decode_time for converting from Delphi TDateTime
into/from IB native time format. Write to the autors and complain.
UIB handled time correctly.
If you don't want to change the component set you can use an
generated query with string literals.
SY, Dimitry Sibiryakov.