How to change the Timezone on Debian 9 Linux

From steamWiki
Revision as of 19:23, 29 June 2019 by Sean (talk | contribs)

Jump to: navigation, search

Changing the time zone on a debian based system is fairly simple.

To check your current timezone run

user@server:~# date

which should return something like

Mon May 13 00:58:26 UTC 2019

showing that the current timezone is set to UTC

To change the system timezone run

user@server:~# sudo timedatectl set-timezone America/New_York
  • change America/New_York to a location relevant to your physical location using the "TZ database name" in this table

To check your new current timezone run

user@server:~# date

which should return something like

Sun May 12 21:00:13 EDT 2019

showing that the current timezone is now set to EDT