22.2. Manually configuring the date, time and timezone settings


You can manually configure date, time, and timezone settings on RHEL systems to ensure accurate timekeeping across your environment. Proper time configuration is essential for authentication, logging, troubleshooting, and maintaining consistency with other systems in your infrastructure.

Note, prefer time synchronization by using chrony.

Procedure

  1. Optional: List the timezones:

    # timedatectl list-timezones
    
      Europe/Berlin
  2. Set the time zone:

    # timedatectl set-timezone <time_zone>
  3. Set the date and time:

    # timedatectl set-time <YYYY-mm-dd HH:MM-SS>

Verification

  1. Display the date, time, and timezone:

    # date
    Mon May 5 09:11:55 CEST 2025
  2. To see more details, use the timedatectl command:

    # timedatectl
    
     Local time: Mon 2025-05-05 09:11:55 CEST
               Universal time: Mon 2025-05-05 07:11:55 UTC
                     RTC time: Mon 2025-05-05 07:11:55
                    Time zone: Europe/Berlin (CEST, +0200)
    System clock synchronized: no
                  NTP service: inactive
              RTC in local TZ: no

    For more information, see the date(1) and timedatectl(1) man pages on your system.

Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2026 Red Hat
トップに戻る