afaik, memcache expiry timestamp is always based on unix epoch, hence its timezone independent.
-manoher On Thu, Sep 23, 2010 at 3:20 AM, Ravi Chittari <[email protected]>wrote: > I guess, I did not phrase my question correctly to begin with. > Changing the server time from EST based to UTC based will probably > expire all the items immediately as UTC offsets the time by ( -X > hours). > > Thanks, > Ravi. > > On Wed, Sep 22, 2010 at 2:08 PM, Brian Moon <[email protected]> wrote: > > On 9/22/10 4:03 PM, Matt Ingenthron wrote: > >> > >> On 9/22/10 1:41 PM, Ravi Chittari wrote: > >>> > >>> We have memcached instances up and running in production. We want to > >>> change our systems from one timezone ( Say EST) to UTC. > >>> Does memcached instance automatically pick up new Timezone and what > >>> happens to the cached items? > >> > >> IIRC, times are tracked as relative to the local clock, so if you change > >> the system clock things will either expire late or early. It's probably > >> best to restart the cache server for this sort of thing. > > > > But, changing the system clock is not the same as changing the time zone. > > Time zones are only a formatting thing. A point in time is the same no > > matter what the time zone. > > > > -- > > > > Brian. > > -------- > > http://brian.moonspot.net/ > > >
