Re: Problem with getting time in EST

From: Date: Sat, 04 Aug 2007 14:07:30 +0000
Subject: Re: Problem with getting time in EST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-260175@lists.php.net to get a copy of this message
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@gmail.com> 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 >

« previous php.general (#260175) next »