date: convert specific date to timestamp (#2697)

italian
P_Q_H 2019-01-11 18:12:29 +08:00 committed by Agniva De Sarker
parent 653377d521
commit 6fea929b14
1 changed files with 4 additions and 0 deletions

View File

@ -17,3 +17,7 @@
- Display a specific date (represented as a Unix timestamp) using the default format:
`date -d @1473305798`
- Convert a specific date to the Unix timestamp format:
`date -d "{{2018-09-01 00:00}}" +%s --utc`