Re: [PHP] Adding days to a date

2003-08-14 Thread Onslaught
Yes, just check out mktime in the PHP manual. - Original Message - From: "Donpro" <[EMAIL PROTECTED]> To: "php list" <[EMAIL PROTECTED]> Sent: Tuesday, August 12, 2003 2:37 PM Subject: [PHP] Adding days to a date > I have a piece of code like so: > > $today =- getdate(); > > I am looking

Re: [PHP] Adding days to a date

2003-08-14 Thread Analysis & Solutions
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 seamlessl

Re: [PHP] Adding days to a date

2003-08-14 Thread John Manko
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=php+add+days+date&btnG=Google+Search Donpro wrote: I have a piece of code like so: $today =- getdate(); 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", "m

Re: [PHP] Adding days to a date

2003-08-14 Thread CPT John W. Holmes
From: "Donpro" <[EMAIL PROTECTED]> > I have a piece of code like so: > > $today =- getdate(); > > 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? $tomorrow