diff --git a/cheat/cheatsheets/date b/cheat/cheatsheets/date index 05cebbf..036887e 100644 --- a/cheat/cheatsheets/date +++ b/cheat/cheatsheets/date @@ -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