Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!batcomputer!rogerj From: rogerj@batcomputer.tn.cornell.edu (Roger Jagoda) Newsgroups: comp.unix.questions Subject: Re: how to set timezone in BSD Message-ID: <9789@batcomputer.tn.cornell.edu> Date: 23 Feb 90 23:39:39 GMT References: <24337@princeton.Princeton.EDU> <2959@auspex.auspex.com> Reply-To: rogerj@tcgould.tn.cornell.edu (Roger Jagoda) Followup-To: FQOJ@CORNELLA.CIT.CORNELL.EDU Distribution: na Organization: Cornell Theory Center, Cornell University, Ithaca NY Lines: 26 In article <2959@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: >>How do you set the timezone on a BSD system? It defaults to Pacific >>time. >> >>I am running AOS, IBM's port of BSD for the RT, which is very close >>to the real thing. >> >>Please *post* the answer, don't mail it. You got it! Look under /etc (whatever the equivalent is). There should be also a directory called "zoneinfo" or "TZ" or something like that. Now, look in that directory for something that looks like a system variable. On the system I use it's called "localtime." To set the time on this system, we link (hard link) EST5EDT to that file (ln EST5EDT localtime). Then used "date" to set the time correctly. A restart of the kernel will then make sure all your time-stamps are correct. But then, that's my system, your mileage probably will vary! ----------------- Roger Jagoda FQOJ@CORNELLA.CIT.CORNELL.EDU My management doesn't even like paying me, let alone acknowledging I work for them! -----------------