Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 19. Setting time and date in Red Hat Enterprise Linux
The section contains how to set time and date in Red Hat Enterprise Linux:
The system time is always kept in Coordinated Universal Time (UTC) and converted in applications to local time as needed. Local time is the actual time in your current time zone, taking into account daylight saving time (DST).
The timedatectl utility is distributed as part of the systemd system and service manager and allows you to review and change the configuration of the system clock.
To change the current time:
# timedatectl set-time HH:MM:SSReplace HH with an hour, MM with a minute, and SS with a second, all typed in two-digit form.
To change the current date:
# timedatectl set-time YYYY-MM-DDReplace YYYY with a four-digit year, MM with a two-digit month, and DD with a two-digit day of the month.
To set the time zone:
First, display the list of available time zones:
# timedatectl list-timezonesBased on the above list, set your desired time zone with this command:
# timedatectl set-timezone <your_preferred_timezone>
The time change is audited by the operating system. For more information see the Auditing Time Change Events section in the Red Hat Certificate System Planning, Installation, and Deployment Guide.