Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 17. Setting Time and Date in Red Hat Enterprise Linux 7


The section contains how to set time and date in Red Hat Enterprise Linux 7:
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.

Changing the Current Time

timedatectl set-time HH:MM:SS
Copy to Clipboard Toggle word wrap
Replace HH with an hour, MM with a minute, and SS with a second, all typed in two-digit form.

Changing the Current Date

timedatectl set-time YYYY-MM-DD
Copy to Clipboard Toggle word wrap
Replace YYYY with a four-digit year, MM with a two-digit month, and DD with a two-digit day of the month.
The time change is audited by the operating system. For more information, see Auditing Time Change Events.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat