Home > Articles > Operating Systems, Server > Linux/UNIX/Open Source

  • Print
  • + Share This

Setting the Linux Date and Time

To set the date and time, just run the following command:

sudo dpkg-reconfigure tzdata

A graphical screen will appear, in which you can select your regional settings. To verify that you have the correct settings, just run the following command:

date

When you run the above command after the reconfiguration step, you should see something like this:

Mon Mar 2 14:49:44 GMT 2009-03-02

Obviously, your settings will dictate whether or not your system is on GMT, EST, and so on.

  • + Share This
  • 🔖 Save To Your Account

Related Resources

There are currently no related titles. Please check back later.