on 09/12/02 1:30 PM, @ Edwin ([EMAIL PROTECTED]) wrote:

>> Daylight Savings Time?
> 
> John, I think "Daylight Saving Time" creates a difference of 1 hour and not
> 1 day :)

True... but I checked it anyway -- by adding just one and two hours to the
stamp... which made no difference... but when I added 86400 to the stamp, it
all worked.


> Justin, it depends how you got your "timestamp" in the first place, I
> think...
> 
> I could be wrong again here but aren't these different?
> 
> mktime()
> gmmktime()

Actually, they were created with strtotime().  Note, I don't believe there's
anything wrong with the stamp itself.  The point is, the stamp is displaying
as two different dates using date() on two different servers, and I believe
this is not what date() is supposed to do.

Shouldn't the stamp for 12-09-2002 22:13:09 be the same on every server?

My rationale for this is that no matter where you are in the world, it is
always a certain number of seconds since 01-01-1970 00:00:00.

Perhaps strtotime() is NOT running off GMT, and perhaps date() is... there
has to be SOME confusion there -- either on my side, or in my choice of
functions, or SOMETHING :)


Justin French
--------------------
http://Indent.com.au
Web Development & 
Graphic Design
--------------------


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to