Gnu Tools

datetime

date

# 9999-99-99 99:99:99
# 00-23 00-23 00-59
# %t tab char
# %I 00-12
# %j 000-366
# %D MM/dd/yy
# %T hh:mm:ss
date "+%Y-%m-%d %H:%M:%S"

# timestamp, in sec
date +%s

cal

# print cal
cal
cal 9 1752
最后修改 2023-03-11: split into more parts (54b443e)