Web Projects Consulting

Set System Time From Command Line

How to quickly set the desired system time without using interfaces which hide form you somewhere in the a wm control center?  With the switch to summer time from winter time, these  simple questions sometimes need googling.


The format used is 24-hours (13:00 instead of 1pm), just replace “MM/DD/YYYY HH:MM:SS” to the correct current time and issue the following:

sudo date -s "MM/DD/YYYY HH:MM:SS"
sudo hwclock -r
sudo hwclock --adjust
sudo hwclock --systohc

KDE widgets should react to that immediately in Fedora 12.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Web Projects Consulting
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.