Differences between revisions 1 and 2
Revision 1 as of 2023-06-29 17:08:38
Size: 794
Comment:
Revision 2 as of 2023-06-29 17:08:48
Size: 800
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
`timedatectl(1)` comes from the [[Systemd|systemd]] project and will either be pre-installed or not available for any [[Linux]] distribution. `timedatectl(1)` comes from the [[Linux/Systemd|systemd]] project and will either be pre-installed or not available for any [[Linux]] distribution.

TimeDateCtl

timedatectl(1) checks and sets the hardware and software clocks.


Installation

timedatectl(1) comes from the systemd project and will either be pre-installed or not available for any Linux distribution.


Usage

To see the current clock settings, call timedatectl(1) alone.

To set the clock, try:

# January 1st, 2001 at 12:30
datetimectl 2001-01-01 12:30:00

Timezone

To check and set the configured timezone, try:

timedatectl status
timedatectl list-timezones
timedatectl set-timezone America/New_York


See also

timedatectl(1)


CategoryRicottone

TimeDateCtl (last edited 2023-06-29 17:08:48 by DominicRicottone)