RE: [PHP] mktime + 4 days

From: Date: Tue, 13 Feb 2001 14:33:55 +0000
Subject: RE: [PHP] mktime + 4 days
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39419@lists.php.net to get a copy of this message
$time = time(); $timePlus4Days = $time + 60*60*24*4; $tomorrow = date ("d", $timePlus4Days); Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) maxim@phpbeginner.com www.phpbeginner.com -----Original Message----- From: Christopher Allen [mailto:callen@driver8.org] 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 <br>"; screws up Feb et al.... Thanks, Christopher C. M. Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#39419) next »