TimeDateCtl
timedatectl(1) checks and sets the hardware and software clocks.
Contents
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