Change Timezone on Raspian / Debian / Ubuntu

Here’s a quick and easy way to change the timezone configuration on Raspian / Debian / Ubuntu server, but will probably work on other linux flavors as well.

First, lets see what our current configuration is:

timedatectl 
               Local time: Fri 2021-09-10 19:13:06 BST
           Universal time: Fri 2021-09-10 18:13:06 UTC
                 RTC time: n/a
                Time zone: Europe/London (BST, +0100)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

To get a list of all the supported time-zones:

timedatectl list-timezones

And something like this to grep for relevant ones:

timedatectl list-timezones | grep "America"

Next, lets set our time-zone:

sudo timedatectl set-timezone America/New_York

Finally, check to make sure the changes were applied:

timedatectl 
               Local time: Fri 2021-09-10 14:21:42 EDT
           Universal time: Fri 2021-09-10 18:21:42 UTC
                 RTC time: n/a
                Time zone: America/New_York (EDT, -0400)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

That’s it! Pretty simple stuff.

By Matt

Just a normal run-of-the-mill linux hacker type.

2 comments

  1. I think the admin of this web page is genuinely working hard in support
    of his web site, for the reason that here every material is
    quality based material.

  2. Hello! I simply wish to give you a huge thumbs up for your great info you’ve got
    here on this post. I will be returning to your site for more soon.

Comments are closed.