Subject | Re: [firebird-php] php timestamp firebird |
---|---|
Author | Lester Caine |
Post date | 2004-04-07T21:32:15Z |
yadajopp wrote:
Should work, time is just fraction of one day and so can be added
directly :)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> In a php script of mine, I have the following mysql query.TIMESTAMP >= CURRENT_TIMESTAMP - 10 / ( 24 * 60 )
>
> UPDATE users SET logged_in=0, timestamp=timestamp where logged_in=1
> and username='$Loginname' AND (now()+0)-(date_add(timestamp,interval
> 600 second))>=0");
>
> now my question is, is there a simular function to date_add in
> firebird? or is there another way to get the same result?
Should work, time is just fraction of one day and so can be added
directly :)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services