Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sat, 29 Sep 2001 19:52:24 +0200 Message-Id: <200109291752.TAA24578@linux.> From: "Ehud Karni" To: "David Starks-Browning" Subject: Re: Time-setting CC: cygwin AT cygwin DOT com In-reply-to: <4200-Sat29Sep2001121006+0100-starksb@ebi.ac.uk> (message from David Starks-Browning on Sat, 29 Sep 2001 12:10:05 +0100) Organization: Mivtach-Simon Insurance agencies Reply-to: ehud AT unix DOT simonwiesel DOT co DOT il References: <036d01c148c7$0c9a86f0$01000001 AT lifelesswks> <3BB5BCE2 DOT 6387 DOT 332954D AT localhost> <4200-Sat29Sep2001121006+0100-starksb AT ebi DOT ac DOT uk> X-Mailer: Emacs 20.7.1 rmail (send-msg 1.105) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-8 Content-Transfer-Encoding: 7bit On Sat, 29 Sep 2001 12:10:05 +0100, David Starks-Browning wrote: > > I don't, on neither Win98 nor NT. You don't say what system you're > using. I am on BST now, which is +0100. > > I'd like to understand why date needs TZ for you and not me, before > trying to explain it in the FAQ. I don't know about NT (and W2K) but on W98 and W95 you sure need to set the TZ or have a zic compiled file in /usr/local/etc/zoneinfo/localtime. I think you don't need it because for you local-time = GMT (ignore the daylight saving time). To check out the need for the TZ env variable do the following (both on NT and W98): In Windowze go to: Control-Panel > Date/Time > Time Zone Change it to "(GMT -05:00) Eastern Time (US & Canada)" In Cygwin (bash) do: 1. echo $TZ 2. date 3. touch FTCK ; ls -al FTCK I think this will demonstrate the problem (may be only on W98). Ehud. -- Ehud Karni Mivtach - Simon Insurance /"\ Tel: +972-3-7966-561 Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign (USA) Fax and voice mail: 1-815-5509341 X Against HTML Mail Better Safe Than Sorry / \ mailto:ehud AT unix DOT simonwiesel DOT co DOT il http://www.simonwiesel.co.il -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/