以下で出来る。
$date --date "@1501201492" +"%Y%m%dT%H%M%SZ" 20170728T122452Z
More than 5 years have passed since last update.
dateコマンドを使ってUnixTimeをISO8601形式へ変換する
Last updated at Posted at 2017-07-28
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme