mktime + 4 days
| From: | Christopher Allen | Date: | Tue, 13 Feb 2001 05:06:16 +0000 |
| Subject: | mktime + 4 days | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-39344@lists.php.net to get a copy of this message | ||
Hi!
How to get this to work for every month:
$tomorrow = date ("d", mktime(0,0,0,0,date("d") +4 ) );
echo "Today + 4 days is $tomorrow <br>";
screws up Feb et al....
Thanks,
Christopher C. M. Allen