编辑代码

# 获取当前日期时间
date

# 获取当前时间戳
date +%s

# 时间戳转日期时间
# date -d @<timestamp>
# date -d @1554272087
date -d @$(date +%s)