Re: date() on two diff. servers
| From: | @ Edwin | Date: | Mon, 09 Dec 2002 02:40:20 +0000 |
| Subject: | Re: date() on two diff. servers | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127463@lists.php.net to get a copy of this message | ||
But, then again, it could be just because the other server's time is really
late... (caused by old motherboard batteries, etc.)
- E
"@ Edwin" <copperwalls@hotmail.com> wrote:
> Hello,
>
> "John W. Holmes" <holmes072000@charter.net> wrote:
>
> > Daylight Savings Time?
>
> John, I think "Daylight Saving Time" creates a difference of 1 hour and
not
> 1 day :)
>
> Anyway, I live in a place where we don't practice this so I could be
> wrong...
>
> ...[snip]...
>
> > > Now, what could be causing this problem? IMHO, no matter where you
> > are in
> > > the world (or more to the point, what timezone you are in), 1039525200
> > > seconds after a certain date (in this case the unix epoch) should be
> > > another
> > > certain date, yes?
>
> 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()
>
> - E
>
> ...[snip]...
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>