cheat-fork-echo/cheat/cheatsheets/date

6 lines
135 B
Text
Raw Normal View History

2015-06-19 19:48:59 +02:00
# Print date in format suitable for affixing to file names
date +"%Y%m%d_%H%M%S"
2015-06-19 19:48:59 +02:00
# Convert Unix timestamp to Date
date -d @1440359821