mirror of
https://github.com/cheat/cheat.git
synced 2024-11-14 08:01:09 +01:00
update timestamp convert cheat
This commit is contained in:
parent
20d985d993
commit
41332f1d8a
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
# Print date in format suitable for affixing to file names
|
||||
date +"%Y%m%d_%H%M%S"
|
||||
|
||||
# Convert Unix timestamp to Date
|
||||
# Convert Unix timestamp to Date(Linux)
|
||||
date -d @1440359821
|
||||
|
||||
# Convert Unix timestamp to Date(Mac)
|
||||
date -r 1440359821
|
||||
|
|
Loading…
Reference in a new issue