Go to content Go to navigation Go to search

Getting Your Date Straight · Oct 18, 01:14 PM by Dylan Doxey

It's been bugging me for a while, that my server from System76 was on the Devner Colorado time zone. So, I just set the time ahead by an hour using the date command.

This is simple enough to do:

dylan@dev.doxey.org$: sudo date 1018114508
Sat Oct 18 11:45:00 MDT 2008

But that "MDT" will always remind me, I was taking a shortcut and not bothering to do it the right way.

So, the right way is to read the System76 "Initial Server Setup" page... all the way to the end.


Doing that, I learned that the convenient way to choose your time zone is via an ANSI GUI interface invoked via:

sudo dpkg-reconfigure tzdata

sudo dpkg-reconfigure tzdata


Once you've got your time zone set appropriately, perhaps you'd like to sync up your time with an authoritative clock.
ntpdate is your handle to the Network Time Protocol.

sudo ntpdate us.pool.ntp.org

I chose us.pool.ntp.org from a list of North American time servers I found here http://www.pool.ntp.org/zone/north-america.


Happy computing!

Commenting is closed for this article.