Alternate to timediff() (might be slightly 0T)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,
Reading the time and date functions of MySql I see that to compare my two
timedates I would need to go with TIMEDIFF, but theres a "note" there that
states:

TIMEDIFF() was added in MySQL 4.1.1.

and our host is running 4.0 and another 3.23.x

So how can I compare 2 timedates which are:

now() and now() + 5 mins

to see if I get a positive or negitive value?

Thanks,
Ryan



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 4/7/2005

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux