Subject Re: [firebird-support] Subtracting 3 minutes from Now
Author Martijn Tonies
Hello Grant,

> >> Is this a dialect 3 database?
>
> Yes
>
> >>ftime = :ftime - (3.0/1440.0);
>
> >>To make sure the calculation uses floats.
>
> Still did not make any difference :-((

This seems to work here:

select cast('now' as timestamp) - (3.0000/1440.0)
from rdb$database

Try:
ftime = ftime - (3.000/1440.0)


With regards,

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com