This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: which TZ timezones does date command recognize?


On Mon, Apr 23, 2001 at 02:05:22PM -0400, Earnie Boyd wrote:
> Teun Burgers wrote:
> > 
> > Hi,
> > 
> > date displays the time with a 2 hour offset on my system.
> > So I should set my TZ environment variable,
> > as adviced in an older e-mail
> > 
> > http://sources.redhat.com/ml/cygwin/2001-01/msg00463.html
> > 
> > The example there says export TZ=EST5EDT.
> > 
> > This does indeed work as expected. However
> > I am in MET (Amsterdam), but TZ=MET does not
> > work. How can I found out which timezones
> > date recognizes?
> > 
> 
> By doing some research using Google.com I found that TZ=MET-1DST works.

Just for the records, the correct TZ string for the middle/central
european timezone is

	TZ=CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]