Setting Timezone on Debian Linux

30 Jun 2023 - rich

Using the timedatectl command is the preferred way to set your timezone. These are the steps to follow in order to change (or set) your timezone on a Debian Linux (bookworm) system

list timezones

$ timedatectl list-timezones

...skipping...
America/New_York
America/Nipigon
America/Nome
America/Noronha
America/North_Dakota/Beulah

set the timezone

$ sudo timedatectl set-timezone “America/New_York”

and then check to insure that it has been set:

$ timedatectl

               Local time: Thu 2023-06-29 23:59:43 EDT
           Universal time: Fri 2023-06-30 03:59:43 UTC
                 RTC time: Fri 2023-06-30 03:59:43
                Time zone: America/New_York (EDT, -0400)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no