AKZN Notes

Archives for My Lazy and Forgetful Mind

How to Set Timezone Permanently on Ubuntu to UTC+7 (Indochina Time, ICT)

Introduction:
Setting the correct timezone on your Ubuntu system is crucial for accurate timekeeping and proper synchronization. In this article, we will guide you through the process of permanently setting the timezone to UTC+7 (Indochina Time, ICT) using the timedatectl command.

Step 1: Open a Terminal

Open a terminal on your Ubuntu system. You can do this by pressing Ctrl + Alt + T or by searching for "Terminal" in the application launcher.

Step 2: List Available Time Zones

Run the following command to display a list of available time zones, filtering for those in Asia:

timedatectl list-timezones | grep Asia

This command will provide you with a list of time zones in Asia. Look for the one that corresponds to UTC+7, which is typically Asia/Bangkok.

Step 3: Set the Timezone

Run the following command to set the timezone to UTC+7:

sudo timedatectl set-timezone Asia/Bangkok

Replace Asia/Bangkok with the appropriate timezone if it differs in your case.

Step 4: Verify the Changes

To confirm that the changes have been applied successfully, run:

timedatectl

Check the Time zone field in the output to ensure it reflects the desired timezone (e.g., Asia/Bangkok).

Conclusion:

By following these simple steps, you have successfully set the timezone on your Ubuntu system to UTC+7 (Indochina Time, ICT). This ensures accurate time representation and synchronization, which is essential for various system operations and applications. The changes you've made will persist across reboots, providing a consistent and accurate timekeeping experience on your Ubuntu system.

Leave a Reply

Your email address will not be published.