Re: [PHP] date() on two diff. servers

2002-12-11 Thread DL Neil
Mike, No complaints about explanations in PHP manual - I often say that it IS a cut-above the average. However it does NOT explain the underlying concepts of "timestamps", (quite rightly) expecting that we pick up such from other/more appropriate sources. Hence my comments are refering to such sour

RE: [PHP] date() on two diff. servers

2002-12-11 Thread Ford, Mike [LSS]
> -Original Message- > From: DL Neil [mailto:[EMAIL PROTECTED]] > Sent: 10 December 2002 19:52 > > =as a Windows user I struggle to cope with some of these UNIX > concepts, so I > hit Google - with no joy, and ripped through the SuSE manuals > (I'm a closet > Linux user - will become one

Re: [PHP] date() on two diff. servers

2002-12-10 Thread DL Neil
> > =now let's take a look at the UNIX Epoch. Various > > 'quotations' have surfaced > > in this email, and I don't recall that it is well discussed > > within the PHP > > manual (it being a UNIX definition after all...). The epoch 'began' > > 1Jan1970, sure enough (exactly as quoted). HOWEVER it i

Re: [PHP] date() on two diff. servers

2002-12-09 Thread @ Edwin
Hello gurus, "Ford, Mike [LSS]" <[EMAIL PROTECTED]> wrote: [snip] > To amplify on this: > ... [/snip] Interesting comments! ...not sure if I understood everything though :( Anyway, for Justin's original problem, I think it'll be solve by "simply" doing two things: 1. Add " GMT" to the end of th

RE: [PHP] date() on two diff. servers

2002-12-09 Thread Ford, Mike [LSS]
> -Original Message- > From: DL Neil [mailto:[EMAIL PROTECTED]] > Sent: 09 December 2002 10:50 [snip...] > =now let's take a look at the UNIX Epoch. Various > 'quotations' have surfaced > in this email, and I don't recall that it is well discussed > within the PHP > manual (it being a

Re: [PHP] date() on two diff. servers

2002-12-09 Thread Justin French
Thanks heaps -- very reassuring :) Justin on 09/12/02 9:49 PM, DL Neil ([EMAIL PROTECTED]) wrote: > Justin, > Jumping in late... > 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

Re: [PHP] date() on two diff. servers

2002-12-09 Thread DL Neil
Justin, Jumping in late... > >> 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 stam

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
"Justin French" <[EMAIL PROTECTED]> wrote: > on 09/12/02 3:06 PM, @ Edwin ([EMAIL PROTECTED]) wrote: > > > [snip] > >> Perhaps strtotime() is NOT running off GMT, > > [/snip] > > > > Bingo! > > *GULP*... so, what we're saying is, that if I intend to pass data around on > multiple servers (in diff

Re: [PHP] date() on two diff. servers

2002-12-08 Thread Justin French
on 09/12/02 3:06 PM, @ Edwin ([EMAIL PROTECTED]) wrote: > [snip] >> Perhaps strtotime() is NOT running off GMT, > [/snip] > > Bingo! *GULP*... so, what we're saying is, that if I intend to pass data around on multiple servers (in different timezones) using a unix timestamp for dates (which i pre

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
"Justin French" <[EMAIL PROTECTED]> wrote: [snip] > Perhaps strtotime() is NOT running off GMT, [/snip] Bingo! ...or, Bull's eye!, whatever :) Anyway, I think this is "implied" in the manual. http://www.php.net/manual/en/function.strtotime.php Also, check "User Contributed Notes": pira

Re: [PHP] date() on two diff. servers

2002-12-08 Thread Tom Rogers
Hi, Monday, December 9, 2002, 11:59:07 AM, you wrote: JF> Hi, JF> I'm running the following code on two servers: JF> $stamp = 1039525200; JF> echo date('D, d M Y',$stamp); ?>> JF> On my local development box (Free BSD, PHP 4.1.1, on AUSTRALIAN time), the JF> above echo's "Wed, 11 Dec 2002" (I

Re: [PHP] date() on two diff. servers

2002-12-08 Thread Justin French
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

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
But, then again, it could be just because the other server's time is really late... (caused by old motherboard batteries, etc.) - E "@ Edwin" <[EMAIL PROTECTED]> wrote: > Hello, > > "John W. Holmes" <[EMAIL PROTECTED]> wrote: > > > Daylight Savings Time? > > John, I think "Daylight Saving Time"

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
Hello, "John W. Holmes" <[EMAIL PROTECTED]> 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 probl

RE: [PHP] date() on two diff. servers

2002-12-08 Thread John W. Holmes
Daylight Savings Time? ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ > -Original Message- > From: Justin French [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 08, 2002 8:59 PM > To: php > Subject: [PHP] da