note 50589 deleted from ref.datetime by felipe
| From: | felipe@php.net | Date: | Mon, 10 Dec 2007 17:45:35 +0000 |
| Subject: | note 50589 deleted from ref.datetime by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133196@lists.php.net to get a copy of this message | ||
Note Submitter: JMPZ art JMPZ dort ORG
----
If you are dealing with a date in a database, you could just use the mysql function
DATEDIFF(expr1,expr2) To calculate the difference without big bulky php functions.