[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Looking for clock track different times?



Quoting Jonathan Gift (jgift@wanadoo.fr):
> David Wright wrote:
> > 
> > > I looked but apart from twclock I couldn'rt find anything. Anyone know
> > > of an applet capable of showing times in different places?
> > 
> > It might help to say what it is about twclock that you don't like.
> > 
> > TZ=US/Eastern swisswatch &
> 
> I don't need another analog clock. I'd really like to type the
> date/time at the prompt and get Eastern Standard time, or Pacific, etc.
> I'm now on European. So I don't wake people up...
> 
> Thanks,
> 
> Jonathan
> 
> I looked at the date switches but saw nothing. Thinking about a shell
> script to cut the time, substract 9, etc. seemed there has to be
> simpler.

I'm not sure how you parsed my suggestion above, but all it needs is:

TZ=US/Eastern    date
                 ^^^^-that's the normal date command.
^^^^^^^^^^^^^_
              as before, that's the timezone you want to be local.
More briefly yet, TZ=EST date, if you're happy with this style of
zone names.

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Reply to: