查各國當地時間的指令? - Linux

Table of Contents

Linux 上有以國家或城市為參數 print 出當地時間的指令嗎? e.g.,
[user@host:/home] command Tokyo
Sat Aug 30 19:01:06 JST 2008

date 應該算有點接近
不過好像只能 date -u print 出 UTC 時間

可是 /usr/share/timezone 裡面的確有不少時區資料
不知道是要怎樣用

如果沒這指令我就自己用 python 之類的寫一個好了


--
Team Programming Dragon
http://graphics.csie.ntu.edu.tw/~jonathan/tpd/

--

All Comments