Date Increment Problem

From: Date: Wed, 30 Oct 2002 11:04:32 +0000
Subject: Date Increment Problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-16622@lists.php.net to get a copy of this message
hi, I m a newbie programmer, may b solve to this prob. is a cheap thing, but i cant get solution of it. i have two variables $RegisterDate, and $ExpireDate what I want to do is the the $RegisterDate will be taken from the system. but the $ExpireDate will be three days after the $RegisterDate, i m doing this in the following way, but having problems, i cant find the way to increment the data for after three days $RegisterDate=date("m/d/y"); $ExpireDate=$RegisterDate + 3 //creating problem, if the register date is 10/29/01 then the expire date should be 11/2/02. plz help --------------------------------- Do you Yahoo!? HotJobs - Search new jobs daily now

« previous php.windows (#16622) next »