Subject | Re: [firebird-support] How to calcuate the days between 2 DATE fields |
---|---|
Author | Thomas Steinmaurer |
Post date | 2006-02-02T21:09:50Z |
> How to calcuate the days between two DATE fields? I tried to usingDays = INVOICE_DATE - CURRENT_DATE;
> the following statement in one of my stored procedure, but it failed
> to compile it:
>
> Days = :INVOICE_DATE - 'TODAY'
--
Best Regards,
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and
NexusDB V2
Upscene Productions
http://www.upscene.com