During the install of a new Debian GNU/Linux server I was in a real hurry, so I mistakenly choose a wrong timezone of US/Pacific
As a consequence the server date and time was incorrect and I had to fix that to adjust to the proper server location which of this case was:Europe/London
Here is the quick fix:
debian:~# dpkg-reconfigure tzdata
Next I choose my timezone from the ncurses interface navigating with arrow keys and used ntpdate to synchronize the time for the server like so:
debian:~# ntpdate time.nist.gov
3 Aug 16:02:26 ntpdate[26658]: adjust time server 192.43.244.18 offset 0.000802 sec
Done 😉
More helpful Articles

Tags: arrow, arrow keys, Aug, consequence, Date, Debian, debian gnu, europe, fix, GNU, gnu linux, hurry, interface, Linux, location, LondonHere, ncurses interface, nist, ntpdate, PacificAs, proper server, secDone, server, server location, time, time server, timezone, tzdataNext, Ubuntu
Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6
There are few more ways to achieve the same without using dpkg-reconfigure.
One other way is to directly link or copy the timezone you prefer:
#cp -rpf /etc/localtime /etc/localtime.orig
# cp -rpf /usr/share/zoneinfo/Europe/London /etc/localtime
#ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime
However this method is not recommended IMHO 🙂
View CommentView CommentMozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6
Another handy tip is.
View CommentView CommentChanging the Time Zone per user level:
This can be done with cmd:
# setenv TZ Europe/Sofia