mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-23 06:02:12 +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
|