Re: Date
| From: | Pablo | Date: | Fri, 08 Mar 2002 14:30:51 +0000 |
| Subject: | Re: Date | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87770@lists.php.net to get a copy of this message | ||
On 3/8/02 4:55 AM, Yogesh (yogesh@soho-net.net) wrote:
> Now, how can i perform addition with the date so that i mail that user 3
> months after the date he registered that his registration has expired?
Are you using MySQL? If so, you may find the DATE_ADD() function useful:
DATE_ADD(date_registered, INTERVAL 3 MONTH)
Pablo