home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!lif.de!droese
- From: droese@lif.de (Jan-Olaf Droese)
- Newsgroups: comp.os.linux
- Subject: Re: [Q] How to set a timezone?
- Message-ID: <2492@sunny.lif.de>
- Date: 11 Dec 92 09:37:26 GMT
- References: <9212074947@layla.RoBIN.de> <1992Dec9.002743.3085@serval.net.wsu.edu>
- Reply-To: jano@layla.RoBIN.de
- Organization: Lahmeyer International, Frankfurt
- Lines: 32
-
- In article <1992Dec9.002743.3085@serval.net.wsu.edu> hlu@eecs.wsu.edu (H.J. Lu) writes:
- >In article <9212074947@layla.RoBIN.de>, jano@layla.RoBIN.de (Jan-Olaf Droese) writes:
- >|> I just compiled elm2.4PL2 without many problems. However, I can't get
- >|> elm to use the right timezone.
- >|> I thought setting TZ=MET-1MST in /etc/profile and exporting it should set
- >|> my local timezone.
- >
- >Use time stuff, which should be in SLS.
-
- Maybe it wasn't included in my (quite old) version?
-
- >|> Do I miss something serious, or should this really be a bug somewhere in
- >|> the C-library Routines?
- >|> (I'm using the gcc2.2.2 as it was distributed with SLS 0.98.1, my kernel is
- >|> 0.98.1)
-
- >If you use the time stuff in libc.a, everything should be automatic. Checkout
- ><time.h> and use the functions there. Could you please try
- >
- >date
-
- Of course I did! It doesn't give me a timezone either.
- Somone wrote I would need time.tar.Z. I will probably try to get it now.
-
- >H.J.
-
- JanO
- --
- Jan-Olaf Droese Lahmeyer Internation GmbH
- Lyoner Str. 22
- email: droese@lif.de 6000 Frankfurt am Main
- phone: +49-69-6677-673 Germany
-