On Thu, 23 May 2002, Cosmin wrote:
>  How can I compare Unix Time?
>  As integer values?
>  I take the unix time from database and I compare with the current time
>  and something is not functioning. Can somebody show me how can I do this?

SELECT UNIX_TIMESTAMP(mytimestampfield) FROM table;

Not really sure where you've gone wrong because you show no code and don't
say what the problem is. "something is not functioning" doesn't give us
very much to go on.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to