timedatectl Command Examples

Control the system time and date. More information: https://manned.org/timedatectl.

timedatectl

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

timedatectl list-timezones

timedatectl set-timezone {{timezone}}

timedatectl set-ntp on

timedatectl set-local-rtc 1