date
Programm: date
Zeigt Datum und Uhrzeit.
Aufruf
date [OPTION]... [+FORMAT]
Beschreibung
Show the date and time (here always in UTC). With +FORMAT, show it in that form, for example date +%Y-%m-%d. The % codes: %Y year %m month (01..12) %d day (01..31) %e day, space padded %H hour %M minute %S second %j day of year %a Sat %A Saturday %b Oct %B October %u weekday as a number, Monday = 1, Sunday = 7 %Z time zone %% a %
Optionen im Simulator
12 weitere Optionen des echten Programms, im Simulator noch nicht
Beispiele
date
Sat Oct 17 09:00:00 UTC 2026 Wo du ihn lernst
Lektionen
- Was ist ein Terminal? Den Prompt lesen Terminal-Start