Re: Problem with getting time in EST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



if time() is always 1 hour behind what you want, why not

time() + 3600 // 60 seconds * 60 minutes

On 8/4/07, Crab Hunt <crabhunt@xxxxxxxxx> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux