Re: Working with dates

From: Date: Thu, 23 May 2002 18:26:46 +0000
Subject: Re: Working with dates
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-19405@lists.php.net to get a copy of this message
Use this: ($dateInYourForm gives the date in three months time in the form you gave below. $threeMonths = mktime(0,0,0,date("m")+3,date("d"),date("Y")); $dateInYourForm = date("d/m/Y",$threeMonths); Cheers Steve "Manuel" <manuel@ochoa-usa.com> wrote in message news:20020523140621.9949.qmail@web21412.mail.yahoo.com... > > Can anybody help me with this? > > How do you take a known date and add three month to it? > > Example: > > $effdate= "1/15/2002" > > > > --------------------------------- > Do You Yahoo!? > LAUNCH - Your Yahoo! Music Experience

« previous php.db (#19405) next »