RE: [PHP] mktime + 4 days

2001-02-13 Thread PHPBeginner.com
$time = time(); $timePlus4Days = $time + 60*60*24*4; $tomorrow = date ("d", $timePlus4Days); Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Christopher Allen [mailto:[EMAIL

Re: [PHP] mktime + 4 days

2001-02-13 Thread Jason Stechschulte
On Mon, Feb 12, 2001 at 11:06:16PM -0600, Christopher Allen wrote: > $tomorrow = date ("d", mktime(0,0,0,0,date("d") +4 ) ); > echo "Today + 4 days is $tomorrow "; > screws up Feb et al If you add the month and year, it should work just fine. $tomorrow = date ("d", mktime(