Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sourceware.cygnus.com Delivered-To: mailing list cygwin@sourceware.cygnus.com Message-ID: <1DB8BA4BAC88D3118B2300508B5A552CD925F5@mail.fitlinxx.com> From: David Bolen To: cygwin@sourceware.cygnus.com Subject: RE: TZ not working Date: Thu, 15 Jun 2000 17:14:39 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Noel L Yap [yap_noel@jpmorgan.com] > I've installed cygwin-1.1.2 and now all dates are displayed as UTC. Setting > TZ=US/Eastern or TZ=EST or TZ=EDT doesn't work. How are timezones described in > Cygwin? I believe the same as most Unix systems. If I recall correctly, the strings in the TZ setting (e.g., "EST") never really have any material impact on the time, but exist only for presentation. It's the numeric offset embedded in the value that is key. So you should fine it works with "TZ=EST5" or "TZ=EST5EDT" (the most appropriate for Eastern). At least on my system, without any setting Cygwin is also using my local NT setting. So if your machine itself has the proper local time you can probably drop TZ altogether. But if you set it to anything (e.g., your "EST") then it is obeyed, and in the case of "EST" there is no offset, so it's equivalent to "EST0" which is UTC time-wise. -- David /-----------------------------------------------------------------------\ \ David Bolen \ E-mail: db3l@fitlinxx.com / | FitLinxx, Inc. \ Phone: (203) 708-5192 | / 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \ \-----------------------------------------------------------------------/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com