timedatectl
SystemFundamentalsReference onlyShow or set time and time zone
Name: timedatectl = time and date control
This command is outside what the site lets you practise (mostly distribution-specific or rarely used tools). This page describes how to use it; try it on your own Linux system.
Description
timedatectl, part of systemd, shows and sets the system time, date and time zone and whether to sync over the network (NTP).
Syntax
timedatectl [COMMAND]Common options
| status | Show the time, time zone and sync state (as with no arguments) |
| set-timezone | Set the time zone |
| list-timezones | List time zones |
| set-time | Set the time by hand, e.g. set-time "2026-01-15 09:30" |
| set-ntp | Turn network time sync on or off |