Setting date and time
Posted: 2015-01-04 Filed under: desktop, system | Tags: bios, clock, date, time Leave a commentWhenever I need to adjust my computer’s clock, I set the right time in the BIOS
. I am using XFCE, which does not provide a graphical tool for this (unlike KDE). Recently, I searched for a smarter way to do it and came across these nice examples.
Setting the date as the example says is as simple as:
date +%Y%m%d -s "20150104"
This will reset your clock to 00:00:00. The date format is “YYYYMMDD
“. Following the instructions, I adjusted my clock:
date +%T -s "12:25:00"
Where the time format is “HH:MM:SS
“.
Neat!