Subject | Re: [firebird-support] Working with Firebird and dates |
---|---|
Author | Thomas Løcke |
Post date | 2007-09-24T07:26:12Z |
Helen Borrie wrote:
Regards,
Thomas
> Timestamp - timestamp gives you a result in DAYS So you need toHelen, this worked like a charm. Thank you very much. :o)
> convert your comparison operand to seconds to match what it is being
> compared to:
>
> SELECT * FROM CALLSTAT
> WHERE CALLSTART>'2007-09-21 08:00:00:00.0000'
> AND (86400 * (CALLANSWER-CALLSTART)) < 10;
>
> ./hb
Regards,
Thomas