Mailing List Archive


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

Re: [tlug] timeconv.pl



2005/12/19, Josh Glover <jmglov@example.com>:
> Here is a fun little Perl script that I hacked together (BSD licence,
> so got nuts!):
>
> #!/bin/env perl
> #
> # =========================================================================
> # File: timeconv.pl

./timeconv.pl tokyo kabul 2005/12/19 16:30
                    Asia/Tokyo: 2005/12/19 16:30
                    Asia/Kabul: 2005/12/19 12:00
./timeconv.pl tokyo dhaka 2005/12/19 16:30
                    Asia/Tokyo: 2005/12/19 16:30
                    Asia/Dhaka: 2005/12/19 13:30
./timeconv.pl tokyo karachi 2005/12/19 16:30
                    Asia/Tokyo: 2005/12/19 16:30
                  Asia/Karachi: 2005/12/19 12:30
./timeconv.pl tokyo riyadh  2005/12/19 16:30
                    Asia/Tokyo: 2005/12/19 16:30
                   Asia/Riyadh: 2005/12/19 10:30
./timeconv.pl tokyo Bagdhad 2005/12/19 16:30
timeconv.pl: could not find a matching to timezone: Bagdhad
./timeconv.pl tokyo bagdad  2005/12/19 16:30
timeconv.pl: could not find a matching to timezone: bagdad

 ./timeconv.pl tokyo teheran 2005/12/19 16:30
timeconv.pl: could not find a matching to timezone: teheran
./timeconv.pl tokyo damascus  2005/12/19 16:30
                    Asia/Tokyo: 2005/12/19 16:30
                 Asia/Damascus: 2005/12/19 09:30

 ./timeconv.pl pyongyan tokyo  2005/12/19 16:30
timeconv.pl: could not find a matching from timezone: pyongyan
 ./timeconv.pl tokyo seoul  2005/12/19 16:30
                    Asia/Tokyo: 2005/12/19 16:30
                    Asia/Seoul: 2005/12/19 16:30
./timeconv.pl tokyo taipei  2005/12/19 16:30
                    Asia/Tokyo: 2005/12/19 16:30
                   Asia/Taipei: 2005/12/19 15:30

 ./timeconv.pl tokyo beijing  2005/12/19 16:30
timeconv.pl: could not find a matching to timezone: beijing

There must be political deflections ;-P
--
逸見研一(いつみけんいち)
Skype(Voicemail) itsumiken
Mixi http://mixi.jp/show_friend.pl?id=113732
Orkut http://www.orkut.com/Profile.aspx?uid=11299027584966195898
Blog http://d.hatena.ne.jp/amt/

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links