Hwclock

Updated: 04/26/2017 by Computer Hope

Hwclock is a UNIX and Linux command for accessing the computer's hardware clock, a battery-powered clock on the system's motherboard. The battery ensures that even if the computer loses power, the time doesn't need to be reset when the computer is powered on again. When the operating system loads, it records the time, which may or may not be set according to the system's hardware clock. Alternatively, 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 (basic input/output system) configuration tool.

Clock, Programming terms, System BIOS