mirror of
https://github.com/Erreur32/cheat.git
synced 2024-10-31 21:11:07 +01:00
9 lines
200 B
Plaintext
9 lines
200 B
Plaintext
# 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
|