RE: [PHP] Problem with strtotime() and 2002-03-31

2002-03-22 Thread Ford, Mike [LSS]
> -Original Message- > From: John Clarke [mailto:[EMAIL PROTECTED]] > Sent: 20 March 2002 00:40 > > I have used the following script successfully for a year now, > but have just > found a problem with the date 2002-03-31. > > Any ideas why this would be happening? > > function addDays(

RE: [PHP] Problem with strtotime() and 2002-03-31

2002-03-19 Thread Martin Towell
when I tested that code, the adding of 1 day did NOT work, but adding 2 days DID, sorta, work (it added 1 day) to "fix" it, I found that I had to add one hour (3600) to the date - maybe there's something to do with daylight saving?? -Original Message- From: John Clarke [mailto:[EMAIL PRO

Re: [PHP] Problem with strtotime() and 2002-03-31

2002-03-19 Thread Miguel Cruz
On Wed, 20 Mar 2002, John Clarke wrote: > I have used the following script successfully for a year now, but have just > found a problem with the date 2002-03-31. > When I add 0 days to this date it returns 2002-03-31.Correct! > When I add 1 day to this date it still returns 2002-03-31.