s ... ;-)
Jan
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 04, 2007 5:02 PM
To: Jan Reiter; 'Crab Hunt'; php-general@lists.php.net
Subject: RE: [PHP] Problem with getting time in EST
Jan:
That's the problem, it doesn't work.
I have mine s
At 3:57 PM +0200 8/4/07, Jan Reiter wrote:
Hi!
Try setting the timezone to one of the cities inside it from this list:
http://www.php.net/manual/en/timezones.america.php
DST will be taken into account automatically.
Hope that helps.
Jan
Jan:
That's the problem, it doesn't work.
I have min
if time() is always 1 hour behind what you want, why not
time() + 3600 // 60 seconds * 60 minutes
On 8/4/07, Crab Hunt <[EMAIL PROTECTED]> wrote:
> Hi,
> I need to get the current time in EST timezone while my current timezone is
> CEST. I use the function :
>
> date_default_timezone_set('EST')
>
Hi!
Try setting the timezone to one of the cities inside it from this list:
http://www.php.net/manual/en/timezones.america.php
DST will be taken into account automatically.
Hope that helps.
Jan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
HI,
Are you looking for EDT or EST?
EST = EDT -1.
EDT = EST +1
Take care,
Leonard
On 8/4/07, Crab Hunt <[EMAIL PROTECTED]> wrote:
> Hi,
> I need to get the current time in EST timezone while my current timezone is
> CEST. I use the function :
>
> date_default_timezone_set('EST')
>
>
> But now
Hi,
I need to get the current time in EST timezone while my current timezone is
CEST. I use the function :
date_default_timezone_set('EST')
But now the time that I get is 1 hour less than the time in EST (
http://wwp.greenwichmeantime.com/time-zone/usa/eastern-time/), probably
without taking car
6 matches
Mail list logo