Date Functions
| From: | Peter Allum | Date: | Mon, 20 Aug 2001 11:12:15 +0000 |
| Subject: | Date Functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-63489@lists.php.net to get a copy of this message | ||
I am using PHP 4, I have a date which I am adding to a MYSQL db, I have that
bit sorted, I am trying to calculate an 2 expiry dates, one that is 1 year
and 11 months ahead of the 1st date and another that is 2 years ahead of the
1st date.
Any Ideas, I have seen lots of scripts for adding days but not months or
years.
Thank you in advance for your reply