RE: [PHP] mktime + 4 days

2001-02-13 Thread PHPBeginner.com
lto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 2:06 PM To: php Subject: [PHP] mktime + 4 days 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 "; screws

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(

[PHP] mktime + 4 days

2001-02-12 Thread Christopher Allen
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 "; screws up Feb et al Thanks, Christopher C. M. Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA