Subject Re: [ib-support] Timestamp and external functions. (some Delphi...)
Author Helen Borrie
At 05:48 PM 15-08-01 +0300, you wrote:
>can any one tell how to create a dll from Delphi with some functions to be
>used from interbase 6 accepting timestamp as a parameter and a return value,
>something like: declare external function add_one_day timestamp returns
>timestamp entry_point 'addOneDay' module_name 'mydll'
>thanks for any help
>p.s: I can do all kind of other external functions based on Delphi written
>dlls but those with timestamp don't succeed
>Omar

Do you know about CAST('TOMORROW' as DATE) and

ThisTimestamp + 1 /* gives date and time plus 1 day */
and
ThisDate + 1 /* gives date plus 1 day */

rgds
Helen

All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________