# Setup Timezone in Ubuntu & Sync your clock

URL: https://sohaib.com/blog/updating-ubuntu-timezone
Author: Sohaib Khan
Published: Nov 6, 2019
Updated: Nov 27, 2025
Category: Web Servers & DevOps

> When you install a brand new NIX server, We need to make sure your time zone is accurate, At least I do - I am in EST NY Time zone, I will show you how to set this up. I am assuming you've root shell access sudo…

When you install a brand new \*NIX server, We need to make sure your time zone is accurate, At least I do - I am in EST NY Time zone, I will show you how to set this up.

I am assuming you've root shell access

```bash
sudo timedatectl set-timezone America/New_York
sudo timedatectl set-ntp on
```

```plaintext
timedatectl
```

Above command will show you , You're exact server time

```plaintext
root@NS1:~# timedatectl<br>
               Local time: Tue 2019-11-05 22:26:42 EST<br>
           Universal time: Wed 2019-11-06 03:26:42 UTC<br>
                 RTC time: Wed 2019-11-06 03:26:43<br>
                Time zone: America/New_York (EST, -0500)<br>
System clock synchronized: yes<br>
              NTP service: active<br>
          RTC in local TZ: no
```
