Subject Re: [ib-support] Re: Panic with Date....
Author Helen Borrie
At 03:24 PM 16-09-02 +0000, you wrote:
>I write -700000 for my error!!
>but why FB will accept this date?

Because it stores dates as numbers and Delphi's AsDateTime
method calculates by numbers. -700000 is simply 700000 days before date
zero so, in your case, I guess Delphi passed it the number it calculated
for the date that was midnight 30 December 1899 minus 700000 days. Delphi
and IB don't use the same date as date 0, btw. I think InterBase dates
start going negative at 18 November 1858.

heLen