> I am not sure if this is a PHP problem. I am using strtotime() to
convert
> date string to timestamp. But this function fails with date prior to
1970.
> The documentation however says that range is Fri, 13 Dec 1901 20:45:54
GMT
> to Tue, 19 Jan 2038 03:14:07 GMT
Actually it says it's "typically"
> -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(
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
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.
4 matches
Mail list logo