Re: Adding days to a date

From: Date: Tue, 12 Aug 2003 19:47:35 +0000
Subject: Re: Adding days to a date
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159318@lists.php.net to get a copy of this message
On Tue, Aug 12, 2003 at 03:37:25PM -0400, Donpro wrote: > > I am looking for a function that will add a variable number of days and > return a valid date, i.e., the array elements for "mday", "mon" and > "year" > are reset as needed. Is this possible? Look at mktime(). It allows you to seamlessly add/subtract things. The manual is at http://php.net/mktime --Dan -- FREE scripts that make web and database programming easier http://www.analysisandsolutions.com/software/ T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

« previous php.general (#159318) next »