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