Преглед на файлове

date: convert specific date to timestamp (#2697)

P_Q_H преди 6 години
родител
ревизия
6fea929b14
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      pages/common/date.md

+ 4 - 0
pages/common/date.md

@@ -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`