-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, just
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
=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 is defined
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 stamp,
it
all
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 adding just one
-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 UNIX
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 the string
Hi,
I'm running the following code on two servers:
?
$stamp = 1039525200;
echo date('D, d M Y',$stamp);
?
On my local development box (Free BSD, PHP 4.1.1, on AUSTRALIAN time), the
above echo's Wed, 11 Dec 2002 (I consider this to be the correct date.
However on the live server (Red Hat, PHP
() on two diff. servers
Hi,
I'm running the following code on two servers:
?
$stamp = 1039525200;
echo date('D, d M Y',$stamp);
?
On my local development box (Free BSD, PHP 4.1.1, on AUSTRALIAN time),
the
above echo's Wed, 11 Dec 2002 (I consider this to be the correct
date.
However
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 problem?
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 creates a
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
Hi,
Monday, December 9, 2002, 11:59:07 AM, you wrote:
JF Hi,
JF I'm running the following code on two servers:
JF ?
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
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:
piran at
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 prefer
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 different timezones)
16 matches
Mail list logo