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')
>
>
> 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 care of the daylight savings time (DST)... Can anyone help me
> out how to solve it, its an urgent issue for me.
>
> Thanks a lot in advance,
> regards,
> Rakesh
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to