1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 17:17:56 +01:00
tldr/pages/linux/timedatectl.md
2016-01-08 09:38:59 +01:00

341 B

timedatectl

Control the system time and date.

  • To check the current system clock time:

timedatectl

  • To set the local time of the system clock directly:

timedatectl set-time {{"yyyy-MM-dd hh:mm:ss"}}

  • To list available timezones:

timedatectl list-timezones

  • To change timezones:

timedatectl set-timezone {{timezone}}