Unix Technical Forum

program to show time at different time zones

This is a discussion on program to show time at different time zones within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello, Do you know a nice program that can convert time between time zones ? Once that could permit ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 09:15 PM
Gauthier
 
Posts: n/a
Default program to show time at different time zones

Hello,

Do you know a nice program that can convert time between time zones ?
Once that could permit to select a place somewhere in the world and see
the local time, or to give the time and date in a place and know the
correspondant time in another, and so.
Can be in command line, eventually.

Thanks in advance,
--
^^ Gauthier
(_____/°°-ç
| \_`-"
)/@mmm||
\nn \nn FOE-Belgium : http://www.amisdelaterre.be
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 09:15 PM
AthlonRob
 
Posts: n/a
Default Re: program to show time at different time zones

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

On 22 Jan 2005 19:40:05 GMT, Gauthier <alouest.du.soleil@NOSPAM_skynet.be> wrote:
> Do you know a nice program that can convert time between time zones ?
> Once that could permit to select a place somewhere in the world and see
> the local time, or to give the time and date in a place and know the
> correspondant time in another, and so.


Errrm... a bit off topic, don't you think?

Have you checked Freshmeat? Google?

http://www.worldtimezone.com/, IMHO, can't be beat. It is, of course, a
website and not a utility. But it does the job. :-)

--
Rob | If not safe,
http://rob.axpr.net | one can never be free.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB8rqehm6KEoOOAe0RAqjvAJ9sZBnqBBIEZKawsrIsXj RM5058FgCfao0P
6lWN5A3r/8ioKcy4kt+mY6c=
=w38r
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 09:15 PM
Nemo
 
Posts: n/a
Default Re: program to show time at different time zones

Gauthier wrote:

> Do you know a nice program that can convert time between time zones ?
> Once that could permit to select a place somewhere in the world and
> see the local time, or to give the time and date in a place and know
> the correspondant time in another, and so.


There is World Clock in the Toys section of KDE.
--
Nemo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 09:15 PM
Henrik Carlqvist
 
Posts: n/a
Default Re: program to show time at different time zones

Gauthier <alouest.du.soleil@NOSPAM_skynet.be> wrote:
> Do you know a nice program that can convert time between time zones ?


Date could do that for you. By default it will show your local date, but
you can show some other time by modifying the TZ environment variable:

Example:

henca@balrog:~$ date
Sun Jan 23 00:37:23 CET 2005
henca@balrog:~$ export TZ=UTC
henca@balrog:~$ date
Sat Jan 22 23:37:29 UTC 2005
henca@balrog:~$ export TZ=Asia/Tokyo
henca@balrog:~$ date
Sun Jan 23 08:39:42 JST 2005

Valid timezones are listed in /usr/share/zoneinfo/zone.tab

> Once that could permit to select a place somewhere in the world and see
> the local time,


As above.

> or to give the time and date in a place and know the
> correspondant time in another, and so.


As far as I know date is not able to do that, but if you read the manpage
for convdate you might find something useful.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc2(at)uthyres.com Examples of addresses which go to spammers:
info@k-software.biz svar@webtelevision.se info@webrider.ru root@localhost

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 09:15 PM
Simon
 
Posts: n/a
Default Re: program to show time at different time zones

On Sun, 23 Jan 2005 00:46:24 +0100, Henrik Carlqvist
<Henrik.Carlqvist@deadspam.com> wrote:
> henca@balrog:~$ export TZ=UTC
> henca@balrog:~$ date
> Sat Jan 22 23:37:29 UTC 2005


If it's only temporary, you can combine those into one line:

simon@avatar:~$ date
Sun Jan 23 00:38:51 GMT 2005
simon@avatar:~$ TZ=EST date
Sat Jan 22 19:38:51 EST 2005


--
Simon <simon@no-dns-yet.org.uk> **** GPG: F4A23C69
"We demand rigidly defined areas of doubt and uncertainty."
- Douglas Adams

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 09:16 PM
Gauthier
 
Posts: n/a
Default Re: program to show time at different time zones

Le Sat, 22 Jan 2005 20:42:34 -0000, AthlonRob <junkmail@axpr.net> a écrit:
> Errrm... a bit off topic, don't you think?


Yes, I apologize...

> Have you checked Freshmeat? Google?


Yes, but sometimes, on newsgroups, you get some simple solutions based
on standard tools.

> http://www.worldtimezone.com/, IMHO, can't be beat. It is, of course, a
> website and not a utility. But it does the job. :-)
>

Thanks to all,
--
^^ Gauthier
(_____/°°-ç
| \_`-"
)/@mmm||
\nn \nn FOE-Belgium : http://www.amisdelaterre.be
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com