This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
команда_date [2021/08/26 08:54] val [Linux] |
команда_date [2021/08/26 11:14] val [Linux] |
||
---|---|---|---|
Line 31: | Line 31: | ||
<code> | <code> | ||
$ date --date "1 day ago" +%Y-%m-%d | $ date --date "1 day ago" +%Y-%m-%d | ||
+ | |||
+ | $ date --date "1 hour ago" "+%Y-%m-%d %H" | ||
</code> | </code> |