cheat-fork-echo/cheat/cheatsheets/date
2015-06-19 23:18:59 +05:30

6 lines
135 B
Plaintext

# Print date in format suitable for affixing to file names
date +"%Y%m%d_%H%M%S"
# Convert Unix timestamp to Date
date -d @1440359821