Alternate to timediff() (might be slightly 0T)
| From: | Ryan A | Date: | Sat, 09 Apr 2005 18:09:05 +0000 |
| Subject: | Alternate to timediff() (might be slightly 0T) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-212734@lists.php.net to get a copy of this message | ||
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