Subject | RE: [firebird-support] Date question. |
---|---|
Author | Alan McDonald |
Post date | 2004-04-27T20:27:25Z |
> Hello there, in a MySQL database i could use:Just try to subtract the dates e.g. CURRENT_DATESTAMP-DATE_COL
> mysql> SELECT something FROM tbl_name WHERE TO_DAYS(NOW()) -
> TO_DAYS(date_col) <= 30;
>
> I couldn't find a way to do the same with Firebird, do i need to make a
> UDF or something like this? I'm new using it so i'm having troubles,
> hope you can help me.
>
> Thanks
>
> --
> Rosivaldo Azevedo Ramalho
Alan