mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-16 00:48:36 +01:00
8 lines
200 B
Text
8 lines
200 B
Text
# Print date in format suitable for affixing to file names
|
|
date +"%Y%m%d_%H%M%S"
|
|
|
|
# Convert Unix timestamp to Date(Linux)
|
|
date -d @1440359821
|
|
|
|
# Convert Unix timestamp to Date(Mac)
|
|
date -r 1440359821
|