Curt/Mike,
> -Original Message-
> From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]
>
> date '+%c'# might be different -- check your man date
>
the date returned was correct...
> -Original Message-
> From: Curt Zirzow [mailto:[EMAIL PROTECTED]
>
> putenv('TZ=Australia/S
On 21 August 2003 08:11, Cody Phanekham wrote:
> > -Original Message-
> > From: Curt Zirzow [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 21 August 2003 17:11
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP] unexpected date results
> >
> >
* Thus wrote Cody Phanekham ([EMAIL PROTECTED]):
> Curt,
>
> The admin that is in charge of the server swears that the time zone is already set
> to Australia / Sydney
It is definately a system problem. I actually looked at the source
code for the date() function and all it does is get the time
Curt,
The admin that is in charge of the server swears that the time zone is already set to
Australia / Sydney
> -Original Message-
> From: Curt Zirzow [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 21 August 2003 17:11
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] unexpect
* Thus wrote Cody Phanekham ([EMAIL PROTECTED]):
> $t = time();
> echo "\ntimestamp = $t";
> echo "\ntime = " . date("r", $t);
> ?>
>
> if i run test.php via the web it produces the following output, which is correct:
> timestamp = 1061443716
> time = Thu, 21 Aug 2003 15:28:36 +1000
>
> if i r
The reason for the difference is due to the timezone bit (or whatever it's
called..)
Note the +1000 in this line
time = Thu, 21 Aug 2003 15:28:36 +1000
and the + in this line
time = Thu, 21 Aug 2003 05:28:42 +
so both are actually the same times (bar a few seconds..)
But
6 matches
Mail list logo