note 36720 deleted from function.date by kennyt
| From: | kennyt@php.net | Date: | Sun, 18 Jul 2004 17:31:24 +0000 |
| Subject: | note 36720 deleted from function.date by kennyt | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-73521@lists.php.net to get a copy of this message | ||
Note Submitter: jdeustaquio@pacific.net.ph
----
Modification of example 3. To get next year's date in the DATE format of MySQL.
$nextyear = date ("Y-m-d",mktime (0,0,0,date("m"), date("d"),
date("Y")+1));
Useful when you have annual subscription that expires one year after registration.