Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Docu review done: Tue 21 Apr 2026 12:31:07 AM CEST

Table of Content

Parameters

ParametersDescription
--date='@<SECONDS>'Convert seconds since the epoch (1970-01-01 UTC) to a date

Formating output

$ date +"%<FORMANT1>.*%<FORMAT2>..."
FORRMATDescription
%sseconds since 1970-01-01 00:00:00 UTC
%Ttime; same as %H:%M:%S
%Ddate; same as %m/%d/%y
%Ffull date; same as `%Y-%m-%d1
%dday of month (e.g., 01)
%mmonth (01 ... 12)
%Yyear (e.g. 2020)
%Hhour (00 ... 23)
%Ihour (01 ... 12)
%Mminute (00 ... 59)
%Ssecond (00 ... 59)