How To Change the TimeZone on Ubuntu 25.04
In this guide, we will learn how to change the Timezone on Ubuntu 25.04 using the timedatectl
command.
Check your Current TimeZone
To view the current date, time, and timezone information, use the following command:
timedatectl
Output:
root@server:~# timedatectl
Local time: Mon 2025-04-28 19:03:53 UTC
Universal time: Mon 2025-04-28 19:03:53 UTC
RTC time: Mon 2025-04-28 19:03:53
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
The TimeZone configuration is stored in /etc/localtime
, which is a symbolic link to a timezone file under /usr/share/zoneinfo/
.
To verify this symbolic link:
ls -l /etc/localtime
Output:
root@server:~# ls -l /etc/localtime
lrwxrwxrwx 1 root root 27 Apr 15 17:21 /etc/localtime -> /usr/share/zoneinfo/Etc/UTC
Listing Available TimeZones
You can list all available timezones with:
timedatectl list-timezones
Output:
root@ubuntu25:~# timedatectl list-timezones
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Bamako
Africa/Bangui
Africa/Banjul
Africa/Bissau
Africa/Blantyre
...
Set your Preferred TimeZone
Once you find your preferred timezone from the list, set it with:
timedatectl set-timezone your_time_zone
Example:
timedatectl set-timezone America/New_York
Confirm that the change has been applied:
timedatectl
Output:
root@server:~# timedatectl
Local time: Mon 2025-04-28 15:08:55 EDT
Universal time: Mon 2025-04-28 19:08:55 UTC
RTC time: Mon 2025-04-28 19:08:55
Time zone: America/New_York (EDT, -0400)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
This concludes changing the timezone on Ubuntu 25.04!
CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME
for 10% off!
1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month
Available Locations: LAX | MIA | ATL | FRA | AMS