Docu review done: Thu 29 Jun 2023 12:17:58 CEST
Table of Content
Parameters
Parameters | Description |
---|---|
--date='@<SECONDS>' | Convert seconds since the epoch (1970-01-01 UTC) to a date |
Formating output
$ date +"%<FORMANT1>.*%<FORMAT2>..."
FORRMAT | Description |
---|---|
%s | seconds since 1970-01-01 00:00:00 UTC |
%T | time; same as %H:%M:%S |
%D | date; same as %m/%d/%y |
%F | full date; same as `%Y-%m-%d1 |
%d | day of month (e.g., 01 ) |
%m | month (01 … 12 ) |
%Y | year (e.g. 2020 ) |
%H | hour (00 … 23 ) |
%I | hour (01 … 12 ) |
%M | minute (00 … 59 ) |
%S | second (00 … 59 ) |