Expiry Date ($date function)
| From: | Ron Piggott | Date: | Wed, 02 Mar 2005 09:41:04 +0000 |
| Subject: | Expiry Date ($date function) | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-38731@lists.php.net to get a copy of this message | ||
I figured out that the syntax below creates the date in the way it may be
stored in a mySQL table:
$todays_date=DATE('Y-m-d');
Is there any way to add 21 days to this as an expiry date? For example if
the date was March 20th 2005 21 days would be in April --- is there any way
of dealing with this?
Ron