compare 2 dates in mysql query
| From: | Prince | Date: | Tue, 15 Apr 2003 17:25:47 +0000 |
| Subject: | compare 2 dates in mysql query | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-143984@lists.php.net to get a copy of this message | ||
hi
i have a query that deletes records in a mysql table it goes like this:
delete post if timestamp on post is 14 days old or older (using current date
to determine wether the post is 14 days old or not)
i dont even know how to make the query right...