mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
update timestamp convert cheat
This commit is contained in:
parent
20d985d993
commit
41332f1d8a
@ -1,5 +1,8 @@
|
|||||||
# Print date in format suitable for affixing to file names
|
# Print date in format suitable for affixing to file names
|
||||||
date +"%Y%m%d_%H%M%S"
|
date +"%Y%m%d_%H%M%S"
|
||||||
|
|
||||||
# Convert Unix timestamp to Date
|
# Convert Unix timestamp to Date(Linux)
|
||||||
date -d @1440359821
|
date -d @1440359821
|
||||||
|
|
||||||
|
# Convert Unix timestamp to Date(Mac)
|
||||||
|
date -r 1440359821
|
||||||
|
Loading…
Reference in New Issue
Block a user