Updated: 04/26/2017 by Computer Hope

Hwclock is a UNIX and Linux command for accessing the computer's hardware clock, which is a battery-powered clock on the system's motherboard. The battery ensures that even if the computer loses power, the time will not have to be reset when the computer is powered back on. When the operating system loads, it keeps a record of the time, which may or may not be set according to the system's hardware clock. As an alternative, it may set the time according to a network time server.

Tip: The system's hardware clock can also be set using the system BIOS configuration tool.

Clock, Programming terms, System BIOS