Change Timezone in Ubuntu 20.04 – Simple method

October 12, 2020

Gokul Deepak S

This method to change timezone works for both Ubuntu 18.04 and Ubuntu 20.04

timedate ctl

Shows the time of server

To change, search for your timezone from the available list and copy the text

timedatectl list-timezones | grep Kolkata

Unlink the present server Timezone

sudo unlink /etc/localtime

Now set the time zone

The syntax for setting the new time zone is as below

sudo ln -s /usr/share/zoneinfo/[zone/timezone] /etc/localtime 

For example sudo ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

Mission successful

Now check date and time using timedatectl

About the author

Gokul Deepak is a DevOps engineer focused on building reliable cloud systems through automation, observability, and disciplined infrastructure design. He shares practical insights from real-world production environments, helping engineers build systems that scale with clarity and confidence.

Leave a Reply

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
seetha2204
4 years ago

it worked