Date and Time

date +%FT%T%z

Get Time of Different Time Zone

ls /usr/share/zoneinfo/Asia
TZ='Asia/Tokyo' date

Convert UNIX Timestamp to Date

date -r 1420888742 # BSD date
date -d @1420888742 # GNU date

  • unix/date.txt
  • Last modified: 2019-01-08T21:42:31+0100
  • by Wolfgang