date
Program: date
Shows the date and time.
Usage
date [OPTION]... [+FORMAT]
Description
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 %
Options in the simulator
12 more options of the real program, not in the simulator yet
Examples
date
Sat Oct 17 09:00:00 UTC 2026 Where you learn it
Lessons
- What is a terminal? Reading the prompt Terminal start