Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!mips!synoptics!unix!hplabs!hpcc01!hpcuhb!hpcllla!hpclisp!hpclsv!sundarv From: sundarv@hpclsv.HP.COM (Sundar Varadarajan) Newsgroups: comp.windows.x Subject: Re: xclock Message-ID: <3930014@hpclsv.HP.COM> Date: 29 Jun 90 16:33:54 GMT References: Organization: Hewlett-Packard Calif. Language Lab Lines: 23 harkcom@potato.pa.Yokogawa.CO.JP (Alton Harkcom) writes: > Is it possible to update xclock to handle a different time zone > without updating Xaw? The Unix internal clock keeps time in terms of GMT and displays the local time based on the TZ environment variable. Look in /usr/lib/tztab to get the list of predefined TZ values. You can of course create your own. This is true for HP-UX which is SYSV based. For Eastern Standard time use env TZ=EST5EDT xclock For pacific time use env TZ=PST8PDT xclock This compensates for daylight savings as well. Sundar Varadarajan sundarv@hpda.hp.com