How to change time zone?

0232

To change the time zone in a Linux system, you can follow these steps:

  1. Check Current Time Zone: You can check the current time zone by running:

    timedatectl
    
  2. List Available Time Zones: To see a list of available time zones, use:

    timedatectl list-timezones
    
  3. Change Time Zone: To change the time zone, use the following command, replacing Region/City with your desired time zone:

    sudo timedatectl set-timezone Region/City
    

    For example, to set the time zone to New York:

    sudo timedatectl set-timezone America/New_York
    
  4. Verify the Change: After changing the time zone, you can verify it again with:

    timedatectl
    

These steps should help you successfully change the time zone on your Linux system.

0 Comments

no data
Be the first to share your comment!