mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-01 05:21:06 +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
|