To change timezone ubuntu servers, use the timedatectl set-timezone command followed by your region, such as Asia/Kolkata. This updates the system clock and ensures that logs, scheduled cron jobs, and application timestamps align with your local time, which is critical for accurate auditing and server management.
This guide provides the exact terminal commands to check your current settings, list available timezones, and update your Ubuntu server configuration. We also cover how to avoid common synchronization errors that can disrupt production workloads.
How to check the current timezone on Ubuntu
You can check the active system clock and timezone by running the timedatectl command in your terminal. This tool provides a comprehensive summary of the system time, the current timezone, and whether the clock is synchronized with a network time server.
Running timedatectl
To see your current settings, enter the following command:
timedatectlWhen you run this on a standard Ubuntu 24.04 or 22.04 installation, you will see output similar to this:
Local time: Tue 2026-11-06 14:30:05 IST
Universal time: Tue 2026-11-06 09:00:05 UTC
RTC time: Tue 2026-11-06 09:00:05
Time zone: Asia/Kolkata (IST, +0530)
System clock synchronized: yes
NTP service: active
RTC in local TZ: noIn this output, the “Time zone” line tells you exactly which region the server is using. If you are using VPS hosting, verifying this is the first step before scheduling any automated backups or database maintenance.
Reading synchronization status
The “System clock synchronized” and “NTP service” lines are the most important for server stability. NTP, or Network Time Protocol, is a networking protocol for clock synchronization between computer systems.
If “System clock synchronized” is “no,” your server clock may drift. Even a few seconds of drift can cause authentication failures in distributed systems or errors in security logs. If the service is inactive, you can typically enable it using sudo timedatectl set-ntp true. Ensuring your Ubuntu hosting environment is synced prevents “clock skew” errors during API calls and SSL handshake processes.

How to list available timezones in the terminal
To see all supported geographical zones on Ubuntu, use the timedatectl list-timezones command. This displays a complete list of all timezone strings recognized by the system, which you must use exactly to change the ubuntu timezone.
Viewing the full list
Run the following command to scroll through every available region:
timedatectl list-timezonesThis output is a long vertical list of strings like Africa/Cairo, America/New_York, and Asia/Kolkata. Because the list contains hundreds of entries, it is difficult to find a specific city manually.
Filtering zone lists with grep
The most efficient way to find your specific region is to pipe the output into grep, a command-line utility for searching plain-text data sets for lines that match a regular expression.
For example, if you are looking for Indian timezones, run:
timedatectl list-timezones | grep Asia/KolkataExpected Output:
Asia/KolkataIf you are unsure of the exact spelling, you can search for a broader region:
timedatectl list-timezones | grep AsiaThis will return every city in the Asia directory. When you find the correct string, copy it exactly, including the capitalization and the forward slash. Using an incorrect string or a typo will result in a “Failed to set time zone” error when you attempt to change timezone ubuntu configurations. This precision is vital for administrators managing multiple VPS Linux Ubuntu instances across different regional clients.
How to change timezone ubuntu server using timedatectl
You can change the system timezone on an Ubuntu server by using the sudo timedatectl set-timezone command followed by the specific zone string. This update happens instantly across the entire system without requiring a reboot.
Setting Asia/Kolkata
For servers serving Indian users, the most common configuration is Asia/Kolkata. Use the following command to apply this setting:
sudo timedatectl set-timezone Asia/KolkataAfter running this, verify the change by typing timedatectl. The “Time zone” line should now reflect Asia/Kolkata (IST, +0530).
If you are managing multiple environments, we recommend this checklist to ensure consistency:
- Update the system timezone using the command above.
- Restart the
rsyslogservice to ensure logs use the new timestamp. - Restart the
cronservice to prevent scheduled tasks from triggering at the wrong time. - Check the application-level timezone in your PHP or Python configuration.
Applying global zones
The same command works for any valid zone found in the system list. For example, to set a server to New York time, you would run:
sudo timedatectl set-timezone America/New_YorkWhen choosing a plan for your server, the resources you allocate can impact how many time-sensitive cron jobs you can run efficiently. For high-traffic applications with complex scheduling, we recommend a plan with more vCPU and RAM to handle the overhead.
| Plan | vCPU | RAM | SSD storage | Bandwidth |
|---|---|---|---|---|
| Speed KVM VPS 1 | 2 | 4 GB | 40 GB | 2 TB |
| Speed KVM VPS 2 | 4 | 8 GB | 50 GB | 2 TB |
| Speed KVM VPS 3 | 8 | 16 GB | 70 GB | 4 TB |
Using a higher spec VPS ensures that your system clock synchronization and background tasks do not compete for resources during peak hours.

| Plan | vCPU | RAM | SSD storage | Bandwidth | Price |
|---|---|---|---|---|---|
| Speed KVM VPS 1 | 2 | 4 GB | 40 GB | 2 TB | ₹599/mo |
| Speed KVM VPS 2 | 4 | 8 GB | 50 GB | 2 TB | ₹799/mo |
| Speed KVM VPS 3 | 8 | 16 GB | 70 GB | 4 TB | ₹1,399/mo |
| Speed KVM VPS 4 | 12 | 24 GB | 80 GB | 6 TB | ₹1,799/mo |
| Speed KVM VPS 5 | 16 | 32 GB | 100 GB | 8 TB | ₹2,399/mo |
| Speed KVM VPS 6 | 20 | 40 GB | 120 GB | 10 TB | ₹2,999/mo |
| Speed KVM VPS 7 | 24 | 48 GB | 150 GB | 10 TB | ₹3,499/mo |
| Speed KVM VPS 8 | 32 | 64 GB | 200 GB | 10 TB | ₹4,599/mo |
Every Speed VPS: KVM, full root, 500 Mbps port, weekly backup included, Indian data centre. Monthly, billed in INR. cPanel licence not included.
Why accurate time settings matter for production workloads
Accurate time settings ensure that system logs, scheduled tasks, and security certificates align with real-world events. When you change timezone ubuntu server settings to match your operational region, you prevent critical synchronization failures in distributed environments.
Impact on scheduled cron tasks
Incorrect timezones often lead to “silent failures” where automated scripts run at the wrong hour. Consider a Mumbai software development agency that schedules database backups for 00:00 (midnight). If the server is left on UTC, those backups trigger at 05:30 IST.
This shift causes backups to run during peak business hours, increasing disk I/O and slowing down the application for active users. To avoid this, the agency must align the system clock with IST. If they are running a high-load database, we recommend a plan with higher RAM to handle the backup overhead without impacting site speed:
| Plan | vCPU | RAM | SSD storage | Bandwidth |
|---|---|---|---|---|
| Speed KVM VPS 5 | 16 | 32 GB | 100 GB | 8 TB |
| Speed KVM VPS 6 | 20 | 40 GB | 120 GB | 10 TB |
| Speed KVM VPS 7 | 24 | 48 GB | 150 GB | 10 TB |
Debugging application logs
When troubleshooting a crash, developers rely on timestamps to correlate events across different services. If your web server uses IST but your database uses UTC, matching a specific error in the application log to a database query becomes a manual calculation nightmare.
Consistency allows you to use commands like tail -f /var/log/syslog and see events happening in real time relative to your local clock. This is essential for security audits, as an incorrect timestamp can make it impossible to prove exactly when a breach occurred during a forensic investigation. For those managing critical workloads, Ubuntu hosting provides the stability needed for these precision tasks.

How to fix common timezone configuration mistakes
Fixing timezone mistakes requires verifying that the system clock is synchronized with a reliable time source and ensuring that all dependent services are restarted. Most errors occur when the system timezone is changed but the underlying hardware clock or the running services continue to use the old offset.
Verifying NTP synchronization
Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems. To ensure your server does not drift from the actual time, check the synchronization status using this command:
timedatectl statusLook for the “System clock synchronized” and “NTP service” lines. If you see System clock synchronized: yes and NTP service: active, your server is correctly pulling time from global servers. If it says no, you can force the synchronization by restarting the systemd-timesyncd service:
sudo systemctl restart systemd-timesyncdHandling multi-server drift
In a cluster environment, having different timezones across servers leads to corrupted log correlations. We recommend this consistency checklist for multi-server setups:
- Set all servers to UTC for internal logs and only change the timezone at the application display level.
- Use a central NTP server to avoid millisecond drifts between nodes.
- Verify the offset using
date -u(UTC) anddate(Local) on every node. - Restart the
crondaemon on all machines after any timezone change to avoid duplicate or missed tasks.
If you are managing a growing number of servers, you can scale your resources to maintain better monitoring tools. For instance, moving from a basic setup to a high-resource environment allows for better log aggregation:
| Plan | vCPU | RAM | SSD storage | Bandwidth |
|---|---|---|---|---|
| Speed KVM VPS 8 | 32 | 64 GB | 200 GB | 10 TB |
Keep your Linux environments running with precise system clocks by deploying a high-performance VPS Hosting plan from Xenax Cloud.
Change Timezone Ubuntu: FAQs
How do I check the timezone in Ubuntu?
You can check the current timezone by running the timedatectl command in the terminal. The “Time zone” line in the output will show you the exact region and offset currently in use.
What command changes the timezone on Ubuntu server?
The command to change the system timezone is sudo timedatectl set-timezone [ZONE], where [ZONE] is the specific zone string. For example, to set the server to Indian Standard Time, use sudo timedatectl set-timezone Asia/Kolkata.
How do I list all timezones in Ubuntu terminal?
You can see all supported geographical zones by running the timedatectl list-timezones command. To find a specific city more quickly, you can pipe this output into grep to filter the results.
Does changing the timezone require a system reboot?
No, changing the timezone using timedatectl happens instantly across the system. However, we recommend restarting the rsyslog and cron services to ensure logs and scheduled tasks use the new timestamp.
Why is UTC recommended as the internal server time?
UTC is recommended for internal server time to prevent log correlation errors and corrupted data in multi-server clusters. This ensures consistency across different nodes and allows you to change the timezone only at the application display level.
For reliable server execution of your cron jobs and time-sensitive scripts, we recommend deploying a Speed KVM VPS 1 from Xenax Cloud.






