date コマンドに ‘+%s’ 引数をつけると unixtime で表示する。 特定の日付を変換したいときは、’–date’ オプションで。 $ date +%s 1305730800 $ date --date "@1305730800" 2011年 5月 19日 木曜日 00:00:00 JST $ echo 1305730800 | awk '{print strftime("%c",$1)}' 2011年05月19日 00時00分00秒 Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationWhat you can do with signing up