• Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us
TecAdmin
Menu
  • Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us

How To Change Timezone on Debian 10/9/8

Written by Rahul, Updated on December 31, 2019

Every operating system has a default time zone configured. Sometimes users are required to change the default timezone to some other timezone as per their requirements on the Linux system. This tutorial will help to change the timezone on Debian 10, Debian 9 and Debian 8 systems.

View Current Timezone

Linux uses /etc/localtime file as current systems timezone. We can simply use “date” command to check current timezone.

date

Wed Sep  5 20:40:27 IST 2018

See output on the screen, This will show the time zone like IST in the above result.

Change Timezone on Debian

Debian operating systems keep all timezone configuration files inside /usr/share/zoneinfo/ directory. Before using the new configuration, rename or unlink old configuration file as:

sudo mv /etc/localtime /etc/localtime.old

Then create a symbolic link of /etc/localtime with new timezone settings file. For below example, I am using America/New_York (EST/PST) timezone for my server. To find out more timezone list visit here.

sudo ln -s /usr/share/zoneinfo/America/New_York /etc/localtime

Your time zone has been changed successfully. Let’s check the timezone again.

date

Wed Sep  5 11:11:56 EDT 2018

All done.

Share it!
Share on Facebook
Share on Twitter
Share on LinkedIn
Share on Reddit
Share on Tumblr
Share on Whatsapp
Rahul
Rahul
Connect on Facebook Connect on Twitter

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

1 Comment

  1. Avatar Werner Reply
    November 16, 2020 at 8:27 pm

    I think “dpkg-reconfigure tzdata” is the Debian way of changing the timezone

Leave a Reply Cancel reply

Popular Posts

  • How To Install Python 3.9 on Ubuntu 20.04 5
  • How to Install Python 3.9 on CentOS/RHEL 7 & Fedora 32/31 0
  • How To Install VNC Server on Ubuntu 20.04 1
  • How To Install NVM on macOS with Homebrew 0
  • (Solved) apt-add-repository command not found – Ubuntu & Debian 0
© 2013-2020 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy