20.3. Change the Hardware Time

Because the hardware time is read by the kernel only when the system boots, it can be changed without having any effect on programs that are currently running. To change it, follow these steps:

1.
On the main page of the module, select a new Day, Month, Year, Hour, Minute, and Second in the Hardware Time section.
2.
Click the Apply button below the fields. The new date and time will be set, and the page will be redisplayed.

You can also synchronize the hardware time with the system time by clicking the Set hardware time to system time button. It is a good idea to do this every now and then on a system that hasn't been rebooted for a long time, so that the times do not drift too far out of sync.

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.