sumarsono.com
Take it with a grain of salt


Cara Ganti Timezone Debian 10

Posted on

Cara mengganti timezone Debian 10 sangatlah mudah. Cukup pakai command timedatectl. Berikut ini demonstrasi mengganti timzone Debian 10 menggunakan timedatectl:

Sebelum timezone debian 10 diganti:

sumar@gw:~$ timedatectl 
               Local time: Thu 2020-06-04 07:31:04 UTC
           Universal time: Thu 2020-06-04 07:31:04 UTC
                 RTC time: Thu 2020-06-04 07:31:05
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Mengganti timezone Debian 10 menjadi Asia/Jakarta:

root@gw:/home/sumar# timedatectl set-timezone Asia/Jakarta

Setelah timezone Debian 10 diganti menjadi Asia/Jakarta:

root@gw:/home/sumar# timedatectl set-timezone Asia/Jakarta
root@gw:/home/sumar# timedatectl  
               Local time: Thu 2020-06-04 14:31:45 WIB
           Universal time: Thu 2020-06-04 07:31:45 UTC
                 RTC time: Thu 2020-06-04 07:31:46
                Time zone: Asia/Jakarta (WIB, +07:00)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Mudah sekali, cuma modal timedatectl set-timezone

~