Subject | Re: [firebird-support] Decrement Date by 1 hour |
---|---|
Author | Gary Benade |
Post date | 2006-06-02T08:26:16Z |
>Dion wroteI use the standard firebird UDF's, those relevant to your question are:
>How do I decrement the system date by an hour ie current_timestamp - 1
>hour.
ADDMILLISECOND
ADDSECOND
ADDHOUR
ADDDAY
ADDMONTH
ADDWEEK
ADDYEAR
So you would use ADDHOUR( current_timestamp, -1) to go back one hour
FWIW
Gary